Bug 412518 - Can't use "configure keyboard options" and use the super key for window switching at the same time
Summary: Can't use "configure keyboard options" and use the super key for window switc...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: input (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-01 19:10 UTC by Mike Eichler
Modified: 2024-04-25 13:22 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Eichler 2019-10-01 19:10:48 UTC
SUMMARY
Changing keys around prevents some Kwin shortcuts from working.

Note - I use Meta and Super interchangeably here. They both refer to the key left of Alt, where many keyboards have a custom logo.

What I would like to achieve:
 1) Swap left alt and left control and escape and caps lock
 2) Use super+tab to switch windows
 3) Use ctrl+alt+arrow to move to different desktops
 4) Use shift+ctrl+alt+arrow to move windows to different desktops 

STEPS TO REPRODUCE
1. Open Settings > Shortcuts > Global Shortcuts > KWin
2. Set Switch One Desktop Down to Ctrl+Alt+Down, set analogous shortcuts for up, left and right
3. Set Window One Desktop Down to Ctrl+Alt+Shift+Down, set analogous shortcuts for up, left and right
4. Set Walk Through Windows to Meta+Tab
5. Set Walk Through Windows (Reverse) to Meta+Shift+Tab
6. Hit Apply
Confirm that the shortcuts work as intended. If not, log out and log in. The shortcuts should now work.
7. Open Settings > Hardware > Input Devices > Keyboard > Advanced tab
8. Check Configure Keyboard Options
9. Select Caps Lock behaviour > Swap ESC and Caps Lock
10. Select Ctrl position > Swap Left Alt with Left Ctrl
Confirm that Esc and Caps Lock, and Left Ctrl and Left Alt are now swapped.

OBSERVED RESULT
After step 10, Super+Tab no longer works. Alt+Tab (Alt now being on the Ctrl key) run the window switcher exactly ones.
Trying to repeat steps 1 through to 6 doesn't work:
 * Pressing Meta+Tab on the Walk Through Windows shortcut selector, moves the focus to a different UI element
 * Trying to reset the shortcuts from steps from steps 2 and 3 has no effect.

EXPECTED RESULT
Pressing Esc changes the caps lock
Pressing Caps Lock functions as Escape
Left Alt and Left Control are swapped
Meta+Tab switches windows, Meta+Shift+Tabs switches windows in reverse
Control+Alt+Arrows move to different desktops
Control+Alt+Shift+Arrows move windows to different desktops

Operating System: openSUSE Tumbleweed 20190926
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.13.1
Kernel Version: 5.2.14-1-default
OS Type: 64-bit
Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
Memory: 31.1 GiB of RAM

ADDITIONAL INFORMATION
I've observed the same behaviour on recent versions of Kubuntu, KDE Neon and Fedora KDE.
Please don't hesitate to contact me for additional information or if you need me to test anything.