Bug 404302 - Mapping capslock to super breaks window navigation
Summary: Mapping capslock to super breaks window navigation
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: input (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-13 19:50 UTC by Jussi Pakkanen
Modified: 2024-06-07 15:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:
vlad.zahorodnii: Wayland-
vlad.zahorodnii: X11+


Attachments

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