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 356146 - Keybindings (shortcuts) correspond to first keymap in list at start up,
Keybindings (shortcuts) correspond to first keymap in list at start up,
Status: RESOLVED DUPLICATE of bug 103331
Product: metacity
Classification: Other
Component: general
2.14.x
Other All
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2006-09-15 16:39 UTC by Tom Wright
Modified: 2009-11-20 21:30 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Tom Wright 2006-09-15 16:39:33 UTC
Please describe the problem:
The positions of keybindings (shortcut) are set based on the first keymap in the list of available keymaps when metacity is restarted. Thus changing keymaps has no effect on keybindings.

For example suppose one uses Dvorak and qwerty keyboards, and <Control>t is
a shortcut, and qwerty is listed first in the keymap list. Then if one switches to  dvorak later then one needs to press the same keys (i.e <Control>k in dvorak) to one the terminal.

 

 

Steps to reproduce:
1. Open keyboard preferences.
2. Go to layouts, add a dvorak keyboard, and use the up command to place it at the top of the list
3. Add a keyboard indicator (Context Menu -> Add to panel -> Keyboard indicator) to your gnome panel to change keymaps, ensure one is using a qwerty keyboard.
4. Use the keyboard indicator to make sure a qwerty keyboard is used

(4' (Optional) - remove the dvorak keyboard from the keyboard preferences so there is no mention of dvorak anywhere)
5. Open 'Keyboard Shortcuts' preferences
6. Add a <Control>t shortcut for 'Run a terminal'
7. Restart metacity (find the pid of metacity using ps and kill it will kill)
8. Press <Control>t...wait, press <Control>k


Actual results:
Nothing happens when one presses <Control>t, on pressing <Control>k a terminal is opened (<Control>k corresponds to <Control>t in Dvorak)

One can vary the shortcuts directly at gconf-editor and the results are the same

Expected results:
<Control>t in qwerty should open a terminal.

Does this happen every time?
Yes

Other information:
I was using UK keymaps
Comment 1 Thomas Thurman 2008-03-17 00:03:00 UTC
Confirmed (using US keymaps).  How strange-- I'll investigate.  Thank you.
Comment 2 Owen Taylor 2009-11-20 21:30:22 UTC

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