Bug 435187

Summary: no multi-modifiers only shortcuts support
Product: [Plasma] kwin Reporter: Andrey <butirsky>
Component: inputAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde, liubomirwm, nate
Priority: NOR    
Version First Reported In: 5.8.9   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
URL: https://blog.martin-graesslin.com/blog/2016/08/modifier-only-shortcuts-available-in-plasma-5-8/
See Also: https://bugs.kde.org/show_bug.cgi?id=435181
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Andrey 2021-03-31 14:37:31 UTC
Plasma got support for modifier only shortcuts in Plasma 5.8:
https://blog.martin-graesslin.com/blog/2016/08/modifier-only-shortcuts-available-in-plasma-5-8/
That support spans to single modifier shortcuts only.
This prevents it from using the feature for common shortcuts switching layout such as Alt+Shift, Ctrl+Shift etc.
Using that shortcuts from XKB configuration has drawback as no non-modifier key combinations with this modifiers are longer possible, i.e. Alt+Shift+<some_non-modifier_key>, see bug 435181.

Typical ~/.config/kwinrc config for the feature looks like: 
[ModifierOnlyShorcuts]
Alt=
Control=
Meta=org.kde.krunner,/App,,display
Shift=org.kde.plasmashell,/PlasmaShell,org.kde.PlasmaShell,activateLauncherMenu