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 671065 - gtk: Prefer group-0 keycodes
gtk: Prefer group-0 keycodes
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2012-02-29 15:09 UTC by Bastien Nocera
Modified: 2012-03-13 17:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gtk: Prefer group-0 keycodes (2.01 KB, patch)
2012-02-29 15:09 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2012-02-29 15:09:35 UTC
.
Comment 1 Bastien Nocera 2012-02-29 15:09:37 UTC
Created attachment 208691 [details] [review]
gtk: Prefer group-0 keycodes

As we don't give out information about the group or level when
giving back keycodes, we should prioritise group-0, level-0, followed by
level-0 only, and then any keycodes.

This fixes "q" being pressed when the Wacom tablet code in
gnome-settings-daemon is supposed to generate an "a" ("uk" keymap
in group-0, "fr" in group-1).
Comment 2 Matthias Clasen 2012-02-29 15:13:58 UTC
Review of attachment 208691 [details] [review]:

Looks reasonable, if you've tested that it doesn't negatively affect other accels in other keymap combinations (ru/en seems to be a popular combination for causing trouble...)
Comment 3 Bastien Nocera 2012-03-13 17:29:07 UTC
Attachment 208691 [details] pushed as dd402bd - gtk: Prefer group-0 keycodes