! 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 !
Duplicate Symbols on Different Shift Levels Cause Shortcuts to Misbehave
Status:
RESOLVED: MOVED
Product:
Xfce4-settings
Component:
Keyboard Settings

Comments

Description Drew Henry 2017-10-04 03:21:22 CEST
I recently redesigned my keyboard layout using xkb which includes multiple groups and some symbols being duplicated. In particular, a few of my XF86 symbols are on different shift levels on different keys (they make up the first shift level on dedicated keys and the third shift level of various alphabetic keys). Unfortunately, it seems that when a keyboard shortcut is defined in XFCE it looks for the shift level of the symbol originally used to define the shortcut rather than the symbol itself.

Example:
I have a dedicated calculator button and create a shortcut to open a calculator application with it. I also have the XF86Calculator symbol bound to the third shift level of an alphabetic key. I am now no longer able to use the first shift level of that key because XFCE thinks I am trying to activate a keyboard shortcut. When checking the keypress in xev the first shift level can be seen to produce a focus event rather than a keypress event.

Steps to Reproduce:
In xkb, take the backslash key (or any random key) and redefine it as "key <BKSL> { [ Q, q ] };" (i.e. the same as the q key but with the capitalizations switched). Next define a keyboard shortcut to be activated when lowercase q is pressed. Now try to activate that shortcut with the backslash key; even though the shortcut was defined for lowercase q, now we will see that Q opens the shortcut while q is typed normally.
Comment 1 Git Bot editbugs 2020-05-28 23:09:29 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/108.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #13897

Reported by:
Drew Henry
Reported on: 2017-10-04
Last modified on: 2020-05-28

People

Assignee:
Jérôme Guelfucci
CC List:
3 users

Version

Version:
unspecified

Attachments

Additional information