Bug 404302

Summary: Mapping capslock to super breaks window navigation
Product: [Plasma] kwin Reporter: Jussi Pakkanen <jpakkane>
Component: inputAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bugseforuns, xaver.hugl
Priority: NOR Flags: vlad.zahorodnii: Wayland-
vlad.zahorodnii: X11+
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jussi Pakkanen 2019-02-13 19:50:13 UTC
How to reproduce (Kubuntu 18/10):

1. map window switching to super-tab
2. Select "make caps lock an additional super" in keyboard settings
3. open three different applications on the same virtual desktop (I used Konsole, Emacs and Okular)
4. Try to switch between windows using super-tab

When using the actual super key, kwin toggles between the first two open windows. It is not possible to get the third windows to be the active one. Switching between windows with capslock-tab works correctly.
Comment 1 Martin Flöser 2019-02-14 05:19:36 UTC
Did you restart KWin after modifying the layout?
Comment 2 Martin Flöser 2019-02-14 06:10:56 UTC
The problem is most likely in tabbox.cpp function areKeySymXsDepressed which only checks the first key code for a keysym. The assumption of the code is that a modifier is only mapped to one keycode.
Comment 3 Zamundaaa 2024-06-07 15:55:13 UTC
Can't reproduce in Plasma 6