Bug 503233 - Mouse button eavesdropping not working while cursor is over window title bar
Summary: Mouse button eavesdropping not working while cursor is over window title bar
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: xwayland (other bugs)
Version First Reported In: 6.3.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-23 14:19 UTC by mpalys7274
Modified: 2025-11-21 06:24 UTC (History)
4 users (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 mpalys7274 2025-04-23 14:19:04 UTC
SUMMARY
In legacy apps using mouse button eavesdropping (in my case Discord), button press and release events are not being forwarded to the app while the cursor is over a title bar of any window.
While using Discord's push-to-talk, it makes it possible to either:
  a) unknowingly not activate push-to-talk
  b) activate push-to-talk but fail to deactivate it after releasing the button if the cursor has moved its position to any title bar while being active

STEPS TO REPRODUCE
1. Enable legacy x11 app button eavesdropping including mouse buttons
2. Bind Discord's push-to-talk to a mouse side button
3. Move to cursor to any title bar and press the bound button

OBSERVED RESULT
Button events not being forwarded to the app

EXPECTED RESULT
Push-to-talk is being activated and deactivated as expected

SOFTWARE/OS VERSIONS
Linux: Fedora Linux 42 KDE Plasma Desktop Edition
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
Discord installed via Flatpak, button eavesdropping is set to "Always" with mouse button inclusion enabled