Bug 453918

Summary: When CapsLock is on, Alt+Tab window switching operates backwards.
Product: [Plasma] kwin Reporter: Loren Burkholder <computersemiexpert>
Component: tabboxAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: arraybolt3, kde, lucasiregistraaisiti, nate
Priority: HI Keywords: usability
Version: 5.24.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.27.8

Description Loren Burkholder 2022-05-17 01:25:09 UTC
SUMMARY
When CapsLock is on, pressing Alt+Tab will switch backwards instead of forwards. I would argue that the user does not expect this behavior; CapsLock generally only has an effect on typed letters. If the user wants to switch backward, he should choose to do so by pressing Shift.


STEPS TO REPRODUCE
1. Turn on CapsLock
2. Press Alt+Tab

OBSERVED RESULT
The window switcher moves backwards.

EXPECTED RESULT
The window switcher moves forwards.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed x64 (Wayland)
KDE Plasma Version:  5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2022-05-17 15:38:21 UTC
lol amazing
Comment 2 Nate Graham 2022-06-07 17:00:44 UTC
*** Bug 454971 has been marked as a duplicate of this bug. ***
Comment 3 Aaron Rainbolt 2023-07-17 18:39:30 UTC
Cannot reproduce on KDE 5.27, Qt 5.15.3, Kubuntu 22.04 LTS. The window switcher moves as expected whether Caps Lock is on or off.
Comment 4 Aaron Rainbolt 2023-07-17 18:40:11 UTC
I mean KDE 5.27.6 in the above comment, sorry
Comment 5 Bug Janitor Service 2023-08-02 13:22:07 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4289
Comment 6 Zamundaaa 2023-08-02 13:36:44 UTC
Git commit 2ea707585f9f6774c45fbb4cbd21dac8b0cd3844 by Xaver Hugl.
Committed on 02/08/2023 at 15:21.
Pushed by zamundaaa into branch 'master'.

input: use modifiersRelevantForGlobalShortcuts for tabbox events

This way, caps lock doesn't get in the way

M  +1    -1    src/input.cpp

https://invent.kde.org/plasma/kwin/-/commit/2ea707585f9f6774c45fbb4cbd21dac8b0cd3844
Comment 7 Zamundaaa 2023-08-02 14:25:08 UTC
Git commit 6ea5ae9c0f37daedbf1573cf0733ced19745710e by Xaver Hugl.
Committed on 02/08/2023 at 15:41.
Pushed by zamundaaa into branch 'Plasma/5.27'.

input: use modifiersRelevantForGlobalShortcuts for tabbox events

This way, caps lock doesn't get in the way


(cherry picked from commit 2ea707585f9f6774c45fbb4cbd21dac8b0cd3844)

M  +1    -1    src/input.cpp

https://invent.kde.org/plasma/kwin/-/commit/6ea5ae9c0f37daedbf1573cf0733ced19745710e