! 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 !
Shortcuts don't follow the good keyboard layout.
Status:
RESOLVED: INVALID
Product:
Xfce4-settings
Component:
Keyboard Settings

Comments

Description Olivier Robert 2009-03-02 10:00:05 CET
System configuration:
Xubuntu 8.04 on x86 with XFCE 4.6
Azerty keyboard layout (layout="fr", variant="oss")

Affected components:
Not sure. Probably xfce4-settings-helper
Shortcuts configured either from xfce4-keyboard-settings or xfwm4-settings are concerned.

Affected versions:
All stable versions since XFCE 4.2

Description of the bug :
** Overview **
On my computer with a french keyboard = "azerty", keyboard shortcuts act as if they were following a "qwerty" keyboard layout.
In other words, in order to trigger the shortcut expressed as <Super>a in the shortcut editor, I have to press <Super>q. The problem can be noticed for all non common keys between azerty and qwerty layout (ie for the letters : a, q, m, n, z and w but not e, r, t, y ...).

** Related observations **
1) When adding new shortcuts in xfce4-keyboard-settings or xfwm4-settings, keys are "recorded" correctly: pressing <Super>a will effectively records <Super>a. However, as explained previously, this new shortcut won't work if the key used is one of (a, q, m, n, z or w)

2) Closing the session and starting the session again, makes the shortcuts working correctly. However a reboot of the system won't do anything. 

3) Killing xfce4-settings-helper and then running it again, makes the shortcuts working correctly.
Comment 1 Yves-Alexis Perez editbugs 2009-03-02 10:23:57 CET
I think this is gtk-related. See for example:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479759
and
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469837

Cheers,
--
Yves-Alexis
Comment 2 Olivier Robert 2009-03-02 11:31:03 CET
Thanks for this information. I'm quite convinced now the bug is related to gtk indeed. However I leave you the expertise to decide if my bug report has to be closed.

To briefly summarize:
The "bug" is actually a feature made for people switching between several keyboard layouts to avoid changing the physical position of the shortcuts each time. In some cases as in mine, this however can cause problems.
A fix has been pushed recently.
Further informations can be found on http://bugzilla.gnome.org/show_bug.cgi?id=162726.

Cheers
Comment 3 Yves-Alexis Perez editbugs 2009-03-02 12:59:22 CET
What I mean (and I'm not an Xfce developer so I'm only speaking for myself) is that there's little Xfce can do about this.
Comment 4 Brian J. Tarricone (not reading bugmail) 2009-03-02 22:00:48 CET
Yeah, I don't think there's anything we can do with this.  Reassigning to Jannis; I'll let him decide since the keyboard stuff is his code.
Comment 5 Olivier Robert 2009-07-06 08:07:49 CEST
Created attachment 2434 
~/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml
Comment 6 Olivier Robert 2009-07-06 08:10:30 CEST
Created attachment 2435 
~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
Comment 7 Olivier Robert 2009-07-06 08:11:19 CEST
Created attachment 2436 
output of command /usr/bin/locale
Comment 8 Olivier Robert 2009-07-06 08:12:10 CEST
Created attachment 2437 
/etc/default/console-setup
Comment 9 Olivier Robert 2009-07-06 08:13:55 CEST
Hi,
I'm still having the same problem with xfce 4.6 running on debian squeeze (testing). My keyboard settings are the same as in my first bug report above :
- Azerty keyboard layout (layout="fr", variant="oss")

I forgot to mention other and perhaps important settings :
- my locale is set to LANG=en_US.UTF-8 (while my keyboard is "fr")
- I use autologin

This time, I added a few attachements :
- output of /usr/bin/locale
- configuration file /etc/default/console-setup
- configuration file ~/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml
- configuration file ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml

Cheers,

Olivier Robert
Comment 10 Jérôme Guelfucci editbugs 2010-12-08 19:27:51 CET
As stated before, this is a Gtk bug, we can't do anything about this. Closing this.

If you want to get this fixed, you need to see that with the Gtk developers.

Bug #5023

Reported by:
Olivier Robert
Reported on: 2009-03-02
Last modified on: 2010-12-08

People

Assignee:
Jannis Pohlmann
CC List:
4 users

Version

Attachments

~/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml (343 bytes, text/xml)
2009-07-06 08:07 CEST , Olivier Robert
no flags
~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml (9.35 KB, text/xml)
2009-07-06 08:10 CEST , Olivier Robert
no flags
output of command /usr/bin/locale (330 bytes, application/octet-stream)
2009-07-06 08:11 CEST , Olivier Robert
no flags
/etc/default/console-setup (1.80 KB, application/octet-stream)
2009-07-06 08:12 CEST , Olivier Robert
no flags

Additional information