Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#112 Key up event not always generated correctly

open
nobody
nuisance (37)
5
2009-04-14
2009-04-14
No

Follow this procedure:
1. Hold down a key on the keyboard, ex. 'w'.
2. Press and hold down Control whilst still holding the first key.
3. Release the first key while still holding down Control.

A key up event will be generated for the resulting key, in my case a non-displayable character.
My terminal output from a simple test program indicating keys pressed and released is as follows:
w pressed
[snip keyboard repeat events]
w released
w pressed
 released <--- Erronous event, should ideally generate "w released" then " pressed" followed by " released"
[No keys held]
q pressed <--- Exit

Discussion