Bug 16828 - Don’t unlatch latched keys due to release events from earlier press events
Summary: Don’t unlatch latched keys due to release events from earlier press events
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/Input/XKB (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-23 23:07 UTC by James Cloos
Modified: 2018-12-13 18:39 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
xev output: various sequences of KeyPress and KeyRelease events give different results (768 bytes, application/x-gzip)
2008-07-24 04:10 UTC, Māris Vilks
no flags Details

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.