GNOME Bugzilla – Bug 129918
Doesn't obey remapped keyboard from GNOME
Last modified: 2005-08-15 01:52:12 UTC
This bug was originally reported in the Debian BTS: http://bugs.debian.org/223722 "I switched to the DVORAK layout in GNOME, but metacity's keyboard shortcuts still respond to the old (qwerty) layout."
funky. Metacity stores integer keysyms internally to maintain its keyboard shortcut map. I was under the impression that, for example, a "a" was always the same keysym no matter what the keyboard layout was. Is this not the case?
Metacity relies on the keysym <-> keycode map though, in order to call XGrabKey(). There's another open bug already I think that it doesn't properly react to keyboard mapping change events (MappingNotify IIRC). There's code that's supposed to react to these events, but it must not work.
probably not the problem but in keybindings.c (reload_keymap) (display->max_keycode - display->min_keycode) in the call to XGetKeyboardMapping should be (display->max_keycode - display->min_keycode + 1)
See also bug 103331.
For the problem pointed out by Rob in comment 3, I filed bug 155427.
Since Rob's fix has been applied, I believe the rest of this bug is just a duplicate of 103331, so I'm going to mark it as such. *** This bug has been marked as a duplicate of 103331 ***