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

Bug #444134 reported by deadguy
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Low
Unassigned

Bug Description

A number of people have seen this problem on the forums: http://ubuntuforums.org/showthread.php?t=1231551

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.

Revision history for this message
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

Revision history for this message
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.

Revision history for this message
Dragomir Minkovski (dejuren) wrote : apport-collect data

Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
Uname: Linux 2.6.28-15-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
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:
   (https://edge.launchpad.net/+authorize-token?oauth_token= ...)
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 https://api.edge.launchpad.net/beta/ubuntu
No additional information collected.

Revision history for this message
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
Revision history for this message
deadguy (deadguysfrom) wrote :

According to this thread on the xorg mailing list, it should be fixed in 1.7: http://lists.x.org/archives/xorg/2009-September/047382.html

Revision history for this message
deadguy (deadguysfrom) wrote :

Verified fixed in xinput 2. Current fix is to upgrade X from this ppa: https://launchpad.net/~thjaeger/+archive/xorg-xi2

Revision history for this message
Mohamed Amine Ilidrissi (ilidrissi.amine) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.