! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Application Shortcuts do not respect keyboard layout switch
Status:
RESOLVED: FIXED
Product:
Libxfce4ui
Component:
General

Comments

Description Kamal Advani 2012-01-22 12:27:03 CET
[Env]
- Debian testing, wheezy, amd64
- Linux zen 3.0.0-1-amd64 #1 SMP Sat Aug 27 16:21:11 UTC 2011 x86_64 GNU/Linux
- XFCE 4.8
- X.Org X Server 1.11.2.902 (1.11.3 RC 2)
- Defined 2 xkb layouts: en us, en us-dvorak; default X is to use en us, just started experimenting with dvorak
- LightDM login/display manager.

[Background]
I have several application shortcuts defined through Settings -> Keyboard -> Application Shortcuts (xfce4-keyboard-settings), a simple one:

- Super-T, to open an xterm.

[Issue]
On switching to dvorak through xkb-plugin...

What works:
- all editable areas correctly use new mapping, e.g. qwerty "s" -> dvorak "o"
- editable areas include dynamic search type things (e.g. to navigate to a menu item quickly in xfce4-settings-manager)
- GTK app shortcuts, e.g. Evince: qwerty Alt-H -> dvorak Alt-J
- xev shows correct mappings, qwerty "s" outputs dvorak "o", various modifier keys (ctrl/alt/win|super)also seem fine.

What fails:
- Qt Apps (e.g. smplayer) still use qwerty mappings
- XFCE Application Shortcuts still use qwerty mappings, even after deleting and recreating them. Note that the keygrab dialog correctly detects the mappings, just that nothing happens when actually using them.

Additionally, when explicitly setting dvorak on Xorg's evdev config:

/usr/share/X11/xorg.conf.d/10-evdev.conf

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option             "XkbLayout" "dvorak" ## ADDED ##
EndSection

- LightDM login correctly uses dvorak mappings (so the evdev change is properly applied)
- XFCE uses whatever the xkb plugin is set to
- However, behaviour changes with XFCE Application Shortcuts (i.e., Win-T defined above, NOT per-application shortcuts like Alt-F for file, etc.):
   - under Settings -> Keyboard -> Layout, whether I check or uncheck "Use system defaults", no Application Shortcuts take effect, in any layout mode.

[thanks to killermoehre on freenode#xfce for assisting]
Comment 1 Kamal Advani 2012-02-16 10:49:42 CET
I'm not sure if this bug is specific to the xkb plugin, I tried setting the map using setxkbmap, and the symptoms are similar -- in-app shortcuts respond to the new map, however shortcuts set at the XFCE level do not. A slight difference is that they do not respond to QWERTY either when using setxkbmap.
Comment 2 Harald Judt editbugs 2015-03-07 23:29:57 CET
Please retry with up-to-date version (4.12) and reopen if necessary.

Bug #8369

Reported by:
Kamal Advani
Reported on: 2012-01-22
Last modified on: 2015-03-07

People

Assignee:
Nick Schermer
CC List:
5 users

Version

Attachments

Additional information