I've researched this behaviour in some detail and would like to help in
solving this bug. I would open a new bug in GNOME bugzilla, but I don't
know what to file it against, so I'd like to discuss the bug here first.

I have had this problem for a while and have even filed a couple of bug
reports, but the conclusions I had drawn then were inaccurate. By using
a more systematic approach to testing this and by actually writing down
the results, I think I have narrowed the issue down quite a bit now,
though.

To reproduce this problem, all conditions have to be met:
Use autologin. If you happen to log out and in again through GDM, the bug 
"stops working" and expected behaviour ensues.
The first keyboard layout has to have keys that differ from those of standard 
US QWERTY keyboard, e.g. US Dvorak. That's where the symptoms arise -- 
shortcuts using these keys.
The user's keyboard layout(s) have to exactly match (those of) the system's. In 
other words, after selecting the user's keyboard layout(s), apply the layout 
settings system-wide (there should be a button in keyboard preferences for 
that).

The symptoms, should you get the above right:
Shortcuts get triggered (the first step of two, if you will) when pressing the 
key combination as it would appear on QWERTY layout (expected behaviour: Dvorak 
keys should trigger the shortcuts). Then they get handled (step two) by either 
Metacity (e.g. run terminal) or Gnome-Settings-Daemon (e.g. run web browser).
Metacity handles the key combination as if pressed on QWERTY, so the shortcut 
sort of works, it just isn't on the right key.
G-S-D handles the key combination as pressed on whatever layout you are 
actually using, complicating matters. Generally the shortcut doesn't work, but 
it might, like in this example: You use Dvorak layout. You have ctrl+u set as 
shortcut 1 and ctrl+g (which corresponds to ctrl+u on qwerty) as shortcut 2. 
Shortcut 2 effectively works as expected.

So, where should this bug go? As I said, I wouldn't mind reporting it in
GNOME Bugzilla if I just knew what component to file it against.

-- 
Keyboard shortcuts don't "stick" with multiple keymappings
https://bugs.launchpad.net/bugs/310000
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to