Bug 388527 - Applets: assign a keyboard shortcut with Z or Y are swapped
Summary: Applets: assign a keyboard shortcut with Z or Y are swapped
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.18.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-04 15:43 UTC by Gregor Mi
Modified: 2021-03-10 18:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregor Mi 2018-01-04 15:43:13 UTC
Situation:

- Have "Folder View" applet in the panel
- Right-click -> Folder View Settings -> Keyboard Shortcuts
- Assign a shortcut, e.g. Meta+Shift+Y
=> The shortcut has no effect.

Assign another shortcut, e.g. Ctrl+Shift+F8
=> The shortcut opens the menu.

=> The Meta key seems to prevent the key combination from working.
Comment 1 Gregor Mi 2018-01-04 15:47:32 UTC
CORRECTION:

The problem is not the Meta key but the Y or Z key:

When I assign a shortcut with Y, then I have to press Z to get the shortcut activated (or vice versa).
Comment 2 Kai Uwe Broulik 2018-01-04 15:49:27 UTC
Can't reproduce. Something funky with your keyboard layout? Do you have multiple layouts configured perhaps and are not on your default one?
Comment 3 Gregor Mi 2018-01-04 15:57:47 UTC
Sorry, I forgot to mention: I have configured two layouts (us and de). The indicator showed "de" all time I reproduced the behaviour.

In Keyboard Hardware and Layout > Layouts > "us" is listed first. I just moved "de" to the top. Now any shortcut containing Z or Y does not trigger the shortcut action anymore. I did not relogin yet.
Comment 4 Eike Hein 2018-01-04 16:46:07 UTC
Nothing to do with Folder View.
Comment 5 Nate Graham 2021-03-10 00:42:40 UTC
Works for me with Plasma 5.21 no matter which keyboard layout I use. There were a lot of fixes here a few months ago; can you re-test?
Comment 6 Gregor Mi 2021-03-10 17:58:52 UTC
I run Plasma 5.18.5 now. I can still reproduce:

- Have an application menu in the panel
- Right-click -> Configure Simple Menu -> Keyboard Shortcuts
- Assign a shortcut, e.g. Meta+Shift+Y
=> The shortcut has no effect. But Meta+Shift+Z has.

- Assign the shortcut Meta+Shift+Z
- Only pressing Meta+Shift+Y activates the menu.

I have two keyboard layouts configured and "de" is active. I did not change the layouts during the whole process.

When I choose "us" in the system tray, then the chosen key when assigning the shortcut (e.g. Y in Meta+Shift+Y) matches the one that activates the menu when pressing this shortcut.
Comment 7 Nate Graham 2021-03-10 18:28:10 UTC
I would expect it to be still somewhat broken in 5.18, since the shortcut cleanup went into 5.21. Any chance you can test there? If not, we can just close this. :)
Comment 8 Gregor Mi 2021-03-10 18:45:27 UTC
I currently have no possibility to test there.
Comment 9 Nate Graham 2021-03-10 18:46:35 UTC
OK, let's close it then. I am 99% sure it will be fixed for you once you upgrade. :)