Bug 465969 - Setting meta as shortcut for any action will trigger that action even when meta is used in key combination
Summary: Setting meta as shortcut for any action will trigger that action even when me...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-17 23:05 UTC by Natalie Clarius
Modified: 2023-02-22 02:03 UTC (History)
3 users (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 Natalie Clarius 2023-02-17 23:05:19 UTC
SUMMARY
***
When setting only the meta key as a shortcut for anything, any key combination involving the meta key will also trigger the modifier-only shortcut in addition to the actual key combination.
***

STEPS TO REPRODUCE
1. Assign just the meta key to any action (call it A)
2. Assign meta + some other key to any action (call it B)
3. Trigger the key combination for B

OBSERVED RESULT
A and B happen

EXPECTED RESULT
Only B happens

Operating System: Arch Linux 
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.1.12-arch1-1 (64-bit)
Graphics Platform: X11
Comment 1 Aleix Pol 2023-02-20 11:57:53 UTC
I guess then it's a matter for these shortcuts to be triggered on release. At the moment we do it on press and we do not yet know whether there will be other keys pressed afterwards.
Comment 2 Aleix Pol 2023-02-20 11:58:17 UTC
It's the other side of the coin of https://bugs.kde.org/show_bug.cgi?id=465867
Comment 3 Nate Graham 2023-02-22 02:03:05 UTC
I think it's time to remove the modifier only shortcut concept from KWin, now that it's redundant because we can trigger modifier-only shortcuts using KGlobalAccel.