Bug 513450 - Alt and Meta modifiers have different keyup behaviors in Window Actions
Summary: Alt and Meta modifiers have different keyup behaviors in Window Actions
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.5.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-16 18:02 UTC by karltacheron
Modified: 2026-01-05 16:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description karltacheron 2025-12-16 18:02:35 UTC
SUMMARY
The Window Actions mouse modifiers have a discrepancy where releasing the mouse button before the modifier exhibits different behavior between Meta and Alt. If using Alt, it will be fired on keyup. If using Meta, it is intercepted on keyup and doesn't fire. This issue does not occur if Alt is released before the mouse button.

 The issue is highly visible in Firefox, where pressing Alt unhides the menu bar. In other applications it will focus the menubar, so for example, in Okular, after keyup of Alt pressing "F" should open the File menu.

STEPS TO REPRODUCE

1. In System settings > Window management > Window Actions, set the "Inner Window, Titlebar, and Frame Actions", set the modifier to Alt
2. Start to use any of these modifiers on any application with a menu bar
3. Release the mouse button, then release Alt (Alt is fired and menubar will be focused)
4. Repeat steps using Meta as modifier to see the interception of Alt's keyup

OBSERVED RESULT
Alt is fired. 

EXPECTED RESULT
Alt should be intercepted.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1