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

--- Comment #20 from Sektor van Skijlen <ethou...@gmail.com> ---
Just got a notification about this bug, I'm really surprised that it's still
running around.

Of course this can be fixed very easily, I thought I hinted that already:

If any of the modifiers key has been sent to the application (or you can get
virtually any key), the state of keypressed should be remembered. When the Key
Release event is coming to the application, this state is cancelled. When the
window loses focus, and there is any KeyPress event earlier recorded (and not
cancelled by KeyRelease), you send the artificial KeyRelease event of the same
key.

I guess this problem might touch upon more applications than KRDC, but in KRDC
it's most visible and annoying. Although normally applications take care of
that problem some easy way (for example, by executing events only on KeyRelease
event), in KRDC the situation is special because the key event is sent to the
underlying desktop, and the KeyPress event is recorded, but with no other key
being released at the same time, it interprets it as pressed single Alt key.

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

Reply via email to