Modifier keys across input devices ignored for first (modified) keystroke

Bug #444134 reported by deadguy on 2009-10-05
This bug affects 3 people
Affects Status Importance Assigned to Milestone

Bug Description

A number of people have seen this problem on the forums:

We have USB foot pedals for modifier keys (ctl, alt, shift, etc). After the modifier is held down, it is ignored for the first keystroke of what should be the modified input. For example, holding down shift and pressing the "a" key repeatedly yields "aAAAAA" instead of "AAAAAA".

There is an xev dump on the forum that shows that the modifier event is seen before the first modified keypress.

I've done a number of tests:
1) The error is seen regardless of window manager /desktop environment (tried gnome, xmonad, and none -- just an xterm)
2) The error is NOT seen in a virtual terminal (ctl-alt-f1). Leads me to believe it is a bug in X
3) The error is NOT seen at all in hardy. I also have a jaunty install with X pinned to hardy's version, and the error is not seen there either.
4) The error is seen with any two keyboards. I tested on a karmic laptop between the laptop keyboard and a usb keyboard.

This leads me to believe it is a regression somewhere in X.

Fabián Rodríguez (magicfab) wrote :

Can you please execute this command from a terminal window so relevant information/logs are attached to this bug report:
apport-collect 444134

Dragomir Minkovski (dejuren) wrote :

I can confirm the bug in Karmic, pressing Shift on one keyboard and typing on the other ignores the capitalization on the first symbol. I also confirm this is not the case in Hardy.

Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Uname: Linux 2.6.28-15-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

deadguy (deadguysfrom) wrote :

apport-collect didn't seem to do anything:

$ apport-collect 444134
Logging into Launchpad... You have to allow "Change anything" privileges.
Downloading bug information...
The authorization page:
   ( ...)
should be opening in your browser. After you have authorized
this program to access Launchpad on your behalf you should come
back here and press <Enter> to finish the authentication process.

Bug title: Modifier keys across input devices ignored for first (modified) keystroke
Ignoring task
No additional information collected.

Dragomir Minkovski (dejuren) wrote :

I got the same trying to run apport-collect in Karmic. Please run it in Jaunty.

Changed in ubuntu:
status: New → Confirmed
importance: Undecided → Low
deadguy (deadguysfrom) wrote :

According to this thread on the xorg mailing list, it should be fixed in 1.7:

deadguy (deadguysfrom) wrote :

Verified fixed in xinput 2. Current fix is to upgrade X from this ppa:

Marking as fixed per last comment. For future reference, you can manage the status of your bugs by clicking on the text below the "Status" column and choosing an adequate status.

Changed in ubuntu:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers