Awesome WM - How to Prevent freerdp from grabbing keyboard in fullscreen mode? - awesome-wm

I made a dock to start several programms. It appears when the mouse touches the screen border.
When I use xfreerdp in multimonitor mode xfreerdp will automaticaly open in fullscreen mode and grabs the keyboard.
After that, I start e.g. firefox from my dock, however I can´t use the keyboard, because xfreerdp doesn`t release it.
At the moment I use a workarround and minimize xfreerdp when it is in fullscreen mode and looses the focus.
However I wonder if is not possible for awesome to force xfreerdp to release the keyboard?
Thanks in advance.
PS. The xfreerdp "Right-Ctrl ungrab feature" doesn't work for me.

Related

How to change the iOS Simulator "window background color" (Full Screen, Xcode 10, Mojave, Dark Mode)

Mojave (macOS 10.14) is great.
Xcode 10.0 (10A254a) is great.
Dark Mode is great.
What is not so great, unless I'm missing something, is this ugly gray background of the iOS simulator window (when in full screen):
Any idea on how to change that color?
If anybody still struggles with this here is somewhat a solution: toggle "Show Device Bezels" in the window menu of the simulator will do the trick. However this needs to be done each time the simulator is started....
I have the answer you seek.
Boot into recovery mode (Cmd+R while booting) and then open the Terminal.
cd /Volumes/Macintosh\ HD //if your drive is named something different, replace accordingly
csrutil disable //disables System Integrity Protection
mkdir AppleInternal //activates testing and custom commands in Apple apps, including Simulator
csrutil enable //re-enable System Integrity Protection
reboot //back to regular environment
Now there's an "Internal" menu in the Simulator. In here, you can change loads of settings including the window's background color. It uses the regular OS X colour picker so you can even choose a hex code.
The correct answer to this (I'm on Catalina 10.15.7): Change your desktop background to the desired color. The simulator adapts to the color with a different opacity (or alpha?!) value when in fullscreen mode.

Qt Creator is running in fullscreen

I have a weird issue with QT Creator. The soft is opening in full screen.
It is annoying because I don't have the bar with File, Edit, Tools etc...
How to disable this fullscreen mode ?
Thanks
You can switch between fullscreen and window mode using Ctrl+Shift+F11. Still, it's strange that the menus aren't visible, normally they are retained even in full screen mode.

Soft keyboard causes view to bounce in flex mobile app

Have a flex mobile app with a couple of text inputs set up in a login form. When the soft keyboard appears the view pans up but then "un-pans" and "re-pans" giving this strange bounce effect.
Does anyone know how or why?
I am having the same issue. I ended up resolving it by changing the softKeyboardBehavior property in my app.xml to none instead of pan. I prefer the look of the default pan, but none works too, and without the bouncing.

Does css hover work on mobile devices?

Does css hover work on mobile devices? I have a css hover class which works fine on a regular web browser, but doesn't work on mobile browsers.
The :hover pseudo-class needs a pointing (graphical input) device, capable of distinguishing the actions pointing and selecting/activating. Usually on mobile devices with a touch interface you don't have the former, only the latter. Also some pen interfaces only allow activating, not pointing.
The :hover pseudo-class applies while the user designates an element (with some pointing device), but does not activate it. For example, a visual user agent could apply this pseudo-class when the cursor (mouse pointer) hovers over a box generated by the element. User agents not supporting interactive media do not have to support this pseudo-class. Some conforming user agents supporting interactive media may not be able to support this pseudo-class (e. g., a pen device).
—W3C: CSS 2.1: Selectors, dynamic pseudo-classes
So, to answer your question: It depends on the device but likely no. And don't rely on it. With touch-screen devices quickly gaining in popularity you'll lose the entirety of pointing-only events.
Sigh. It seems like no-one answering this question actually tried it on a real device. In many cases it does work. The first click acts as a hover.
Some more info here: http://designshack.net/articles/css/are-hover-events-extinct/
What does the questioner mean by "Does css hover work on mobile devices?"?
He obviously doesn't mean it literally, because there is no such thing as hover on mobile devices so it cannot work.
If he means "On mobile devices if I tap on an object with a hover style does anything happen?" the answer is Yes, but what happens varies with the device/browser.
Specifically on iPhone/Safari and Android the response is as if you have written an OnClick() event handler with the style change in it, and this persists until you tap on another object. On Windows phone the style change occurs while your finger is pressed down on the phone and then reverts when you release it.
You can check your device at the test site I set up at davidleader.net/mobiledemo.html.
Not unless the device can detect when someone is hovering their finger over the screen, about to tap. :)
It depends upon the browser used in the mobile device. Refer to Quirks Mode for mobile devices and see if your browser / platform will implement it.
From my own experience, it works fine on my iphone4, whatever is the browser (safari or chrome), but does not works properly on my nexus10 with chrome...
I used :hover to implement menu. When I say "it works", I mean that the first touch behaves like an hover on a desktop, and a second touch will behaves like a click.
When I say "it does not work", I mean that a touch behaves like a click directly...
I would say no, as you do not hover in a mobile interface. You can just press, if on touch screen. Otherwise you just move through links.
won't do its magic on touchscreen devices, but it does work on mobiles where the user navigates by using some arrow keys (or on amazon kindle)
also works for blackberry storm 1 devices as they have touch, and click events due to their suedo-tactile screens.
Yes, it has. if you don't believe, try it.
i) Write Hover Css on Codepen or other stack which you had Account.
ii) Save your work. [it easy to see if you add 'border-bottom: 1px dotted black']
iii) Open it on your Mobile, Tablet or whatever you want to prove. [which your pen save, mind is CodePen]
As result, you'll get the answer. Don't believe the theory much, just practice and prove it.
:hover works with the android default browser, but it is really tricky (for the user) to trigger the hover without triggering a click at the same time.

Is it possible to remain in fullscreen mode with another window having focus?

I have a flash panorama that has hotspot links to pop-up windows that contain more information about the object. Right now if you are in fullscreen mode and click a hotspot you are automatically kicked out of fullscreen mode and the pop-up then opens. Is it possible to have the pop-up open and have focus while in the background the panorama is still in fullscreen mode? If so any tips on how to achieve this would be much appreciated.
The answer is NO, somehow it makes sense otherwise why would it be fullscreen if you could overlap it with pop-ups? The fullscreen is made to focus only on one window. If you want to have more information coming up, why not doing them inside your SWF ?
No but what you can do is make the form the same size as your resolution and hide taskbar and frame.

Resources