Bug 443957 - [wayland] most keyboard shortcuts/modifiers not functional since 5.23.0 (Ctrl, Shift, Capslock, Alt, Meta, etc)
Summary: [wayland] most keyboard shortcuts/modifiers not functional since 5.23.0 (Ctrl...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: input (show other bugs)
Version: 5.23.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2021-10-18 10:10 UTC by Joey Riches
Modified: 2021-10-22 08:24 UTC (History)
1 user (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 Joey Riches 2021-10-18 10:10:12 UTC
SUMMARY
Since updating to plasma 5.23.0/frameworks 5.87.0 most keyboard modifiers are completely non functional in wayland apps, although they seem to work as expected in xwayland apps.

Most keyboard modifiers such as Ctrl+C, Ctrl+V, Capslock/shift for capital letters, Meta or Alt+F1 to open klauncher/kickoff. Caplock light, etc, do not work.

Some modifiers do work, such as Shift and +/_ or Alt + G.

Keyboard shortcuts/modifiers work as expected in X11 session. They also worked as expected in the wayland session in 5.22.5/5.85.0.

Keyboard layout is US intl with dead keys. Although I've also tried bog standard US layout to no avail.

When attempting to change a keyboard shortcut the shortcut editor only seems to capture one key, if that helps. If I press Alt+F1 it captures Alt but overrides it F1 when the second key is pressed for example.

STEPS TO REPRODUCE
1. Login to wayland session
2. Try to use a keyboard shortcut/modifier such as Meta or Alt+F1 to open kickoff. 
3. Try to use caplock, Ctrl+C/V/A in konsole.

OBSERVED RESULT
Keyboard shortcuts/modifiers do not work.


EXPECTED RESULT
Keyboard shortcuts/modifiers should work as expected.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Solus
(available in About System)
KDE Plasma Version: 5.23.0
KDE Frameworks Version: 5.87.0
Qt Version: kde/5.15 branch (sept 20th/21)

ADDITIONAL INFORMATION
My distribution last synced with the qt kde branch on Sept. 20th, let me know of any commits i should try and backport. Happy to try and backport commits in general.
Comment 1 Joey Riches 2021-10-18 10:38:27 UTC
Update: updated an old drive to 5.23 (same os) and the keyboard shortcuts work as expected on that system. It seems to be a configuration issue on this system in particular, any ideas?
Comment 2 Joey Riches 2021-10-22 08:24:09 UTC
Resolved: had to delete all keyboard layouts in system-settings then add them again.

Maybe this can be merged into an existing bug if a similar issue already exists.