Bug 16828

Summary: Don’t unlatch latched keys due to release events from earlier press events
Product: xorg Reporter: James Cloos <cloos>
Component: Server/Input/XKBAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: cloos, simos.bugzilla
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xev output: various sequences of KeyPress and KeyRelease events give different results none

Description James Cloos 2008-07-23 23:07:48 UTC
Latched keys get unlatched by any KeyRelease event, even if the associated KeyPress event preceded the latched key’s KeyPress event.

Find a way to avoid that.
Comment 1 Simos Xenitellis 2008-07-24 01:39:59 UTC
See also discussion with info on how to reproduce, at 
http://lists.freedesktop.org/archives/xorg/2008-July/037466.html
http://lists.freedesktop.org/archives/xorg/2008-July/037472.html
Comment 2 Māris Vilks 2008-07-24 04:10:35 UTC
Created attachment 17853 [details]
xev output: various sequences of KeyPress and KeyRelease events give different results

Four different sequences of events inside gzipped tarball:
- *-good1 - happens when typing slow, one key at a time,
- *-bad - faster typing, happens frequently,
- *-good2 - really fast typing when all three key events overlap,
- *-good3 - unusual scenario; weird but works as expected.

Hope it helps somebody to solve this problem.
Comment 3 GitLab Migration User 2018-12-13 18:39:11 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/311.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.