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 664219 - Differentiate 7 and KP_7
Differentiate 7 and KP_7
Status: RESOLVED DUPLICATE of bug 113458
Product: gtk+
Classification: Platform
Component: Widget: Other
3.3.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-11-16 18:17 UTC by Bastien Nocera
Modified: 2017-09-18 17:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2011-11-16 18:17:15 UTC
In all the shortcuts handling code, we treat KP_7 and 7 as two different keys, but display them the same in the shortcuts.

For example:
gtk_accelerator_name_with_keycode (NULL, GDK_KEY_KP_7, NULL, 0);
would return "7", which means that it's impossible to distinguish from the "7/&" key from outside the keypad.

Either they should be treated the same (ditto for Home/KP_Home, etc.), or displayed differently.
Comment 1 Tobias Wolf 2011-11-25 12:41:11 UTC
Don't treat them the same please. Keypad numbers are useful for 'org.gnome.desktop.wm.keybindings move-to-x-x'
Comment 2 Daniel Boles 2017-09-18 17:52:13 UTC

*** This bug has been marked as a duplicate of bug 113458 ***