Bug 453918 - When CapsLock is on, Alt+Tab window switching operates backwards.
Summary: When CapsLock is on, Alt+Tab window switching operates backwards.
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: 5.24.5
Platform: openSUSE Linux
: HI normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: usability
: 454971 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-05-17 01:25 UTC by Loren Burkholder
Modified: 2023-08-05 02:17 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.27.8


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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