After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 623421 - Super/Win key not working for shortcuts in Gtk apps
Super/Win key not working for shortcuts in Gtk apps
Status: RESOLVED NOTGNOME
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2010-07-02 18:23 UTC by czheng
Modified: 2010-07-09 18:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description czheng 2010-07-02 18:23:20 UTC
[moved from: https://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/577532]


Seems that, although mapped correctly, the Super key does not work as a modifier key in keyboard shortcuts for Gnome/Gtk apps.

Very detailed description here: https://answers.launchpad.net/ubuntu/+question/110098

Steps to test
----------------------------------------------------------------------
1) Open gedit
2) Go to Edit > Preferences > Plugins and enable the Snippets plugin
3) Click 'Configure Plugin'
4) In the Snippets manager, create a new snippet under 'Global'.
    Enter your name in the 'Edit' box.
    In 'Tab trigger' field, type the letter n.
    Click the Shortcut key field, and then hold down the Super (Win) key and n. Shortcut assigned should read 'Super+N'.
    Close the Snippets manager and the Preferences dialog.
5) Create a new document. In the editor, type the letter n and hit the tab key. You should see your name appear. That means the snippets are working.
6) In the editor, hold the Super key and then hit the n key. You should simply see the letter n.

Additional details
----------------------------------------------------------------------
Have tested this on both Kubuntu 10.04 and UNR 10.04. On both machines, the shortcut keys above worked as expected in K/Ubuntu 9.10, but broke upon upgrade to 10.04 (one machine was upgraded, one fresh-installed).

Have also installed openSUSE via Virtualbox to test this, and it works as expected there, so I've got to assume it's an Ubuntu-specific problem. FWIW, the output of xmodmap and xev testing are basically identical across all three systems.
Comment 1 Matthias Clasen 2010-07-06 18:59:34 UTC
Works fine for me.
Comment 2 czheng 2010-07-06 19:04:36 UTC
Right. As I said in the report, I believe this to be an Ubuntu-specific problem.
Comment 3 Christian Dywan 2010-07-06 19:23:47 UTC
If you are already convinced that this is a problem with only Ubuntu, wouldn't it make more sense to file a report with the maintainer of GTK+ or Xorg on Ubuntu?
Comment 4 czheng 2010-07-06 19:26:16 UTC
Yeah, sorry. I had done so, but was directed, I think, to post it here. Maybe I misread something. Still fairly new to this :-/

Feel free to close it then.