Inconsistent rules for shortcuts between different applications when switching keymaps
The original issue is https://bugzilla.redhat.com/show_bug.cgi?id=1249335
I can reproduce this issue in Fedora 30 (gnome-shell-3.31.91 & mutter-3.31.91)
gnome-control-center regionin GNOME Wayland
- Configure "US (Dvorak)" as the primary keymap and "US" after "US (Dvorak)".
- Log out and in GNOME Wayland session again to enable "US (Dvorak)".
- Launch Gimp and Inkscape
- In gimp press the dvorak CTRL+N. It correspond on CTRL+L on you keyboard if it's print with the qwerty layout. As expected, a new document is (asked to be) created.
- Do the same step in inkscape, pressing the dvorak CTRL+N. Again, as expected a new document is created.
- Switch you layout to qwerty using the keyboard icon on top right.
- In gimp, press the qwerty CTRL+N. So I'm speakingt of the keys actually labelled CTRL and N on a qwerty keyboard. As expected, a new document is created.
- Repeat the same step in inkscape. The scrollbars of the current document appears/disappears, as if we pressed CTRL+B. If the layout was set to dvorak, we would actually press CTRL+B by pressing CTRL and the key labelled N on a keyboard printed with a qwerty keymap. Note. We already see a chang. of behavior here. Gimp treats CTRL+Key as the current keymap while Inkscape keeps treating them as the original Dvorak keymap.
Expected result: Ctrl-n with qwerty in inkscape launches a new window.
Actual result: Ctrl-l with qwerty in inkkscape launches a new window.