https://bugs.kde.org/show_bug.cgi?id=200776

Sektor van Skijlen <ethou...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ethou...@gmail.com

--- Comment #13 from Sektor van Skijlen <ethou...@gmail.com> ---
This is still a problem. I like krdc (over gvncviewer) exactly because it
switches desktops and windows of the main system on Alt-Tab and Alt- other
keys.

There's still a problem with locked Alt key when I switch the krdc window to
another window. The problem is, in particular, when I switch back and the whole
desktop inside behaves as if the Alt key were pressed, even if it's actually
not pressed (which changes the behavior of any key combination).

So I propose a solution: please make krdc on the event of "lose focus" (which
may be a result of Alt-Tab), send the Key Release (or whatever it's called)
events for Alt - as I can see above, probably the same can be required for
Control, Shift and Meta. To prevent unnecessary flooding, it can simply record
Key Press and Key Release events to update the modifier key state, and on Lose
Focus event send Release events only to the keys that were remembered as
currently Pressed.

If this can make things bad for anyone, you can make it an option - but really
it shouldn't be harmful, as it's hard to imagine a situation when the window is
NOT focused and any key is pressed.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to