Bug 7008

Summary: Win modifier key doesn't always work as a modifier
Product: xorg Reporter: Steve Meyers <steve-xorg>
Component: Input/KeyboardAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: high CC: jesserayadkins, mnowak, ralston
Version: 7.4 (2008.09)   
Hardware: x86 (IA32)   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Steve Meyers 2006-05-24 01:01:08 UTC
Steps to Reproduce:
1. Log in graphically (I'm using KDE, but I confirmed it in Gnome as well)
2. Use a key combination including the Win key (e.g. Win+L)
3. If it doesn't reproduce, log out and go to step 1 until it does (it should
about 1/2 to 2/3 of the time)
  
Actual results:

L

Expected results:

Win+L

Additional info:

In the attached xev log, I did the following (and separated each out with extra
white space):

 - 2
 - Win (left)
 - Win+2
 - Alt
 - Alt+2

As you can see, the Win key is not changing the modifier state -- it's still
0x10.  It should be 0x50.  The Alt key works correctly, changing the state to 0x18.
Comment 1 Steve Meyers 2006-05-24 01:02:02 UTC
You can see the xev log file here:

https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=128631
Comment 2 James Ralston 2006-07-06 08:44:46 UTC
I've seen this once or twice as well, but for me the problem rarely occurs.

Note that it's trivial to work around the problem with xmodmap.  In a terminal, run:

xmodmap -e "keycode 115 = Super_L"

(Keycode 115 should be the Win key on a standard 104-key PC keyboard, but if
you're using some funky keyboard, you should use xev to confirm that keycode 115
is the correct one.)
Comment 3 Daniel Stone 2007-02-27 01:32:09 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 4 Michal Nowak 2008-09-09 01:59:12 UTC
Reference: https://bugzilla.redhat.com/show_bug.cgi?id=239409
Version -> 7.4 (Fedora 9)
OS -> All (Seen on FreeBSD)
Comment 5 Jesse Adkins 2010-11-26 17:53:02 UTC
Works for me using xserver 1.9 and Ubuntu 10.10. I'm assuming this bug has been fixed, so I'm closing it. Reopen if it hasn't.

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.