Bug 504809

Summary: Desktop context menu steals relative mouse position from widget config windows
Product: [Plasma] plasmashell Reporter: Tech-Tac <im.tech.tac>
Component: ContainmentAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: kde, nate, notmart
Priority: NOR    
Version First Reported In: 6.3.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Context menu stealing mouse events from widget config window

Description Tech-Tac 2025-05-26 12:19:38 UTC
Created attachment 181758 [details]
Context menu stealing mouse events from widget config window

SUMMARY
When configuring a widget or the desktop wallpaper and opening a context menu on the desktop or any widget, mouse events on the config window are transmitted to the context menu relative to its position on the screen, i.e. a context menu initiated at the upper left corner of the screen receives mouse events on the upper left part of the widget config window regardless of the window's position on the screen.

STEPS TO REPRODUCE
1. Right click a widget > config
2. Right click desktop, preferably in the upper left part
3. Move your mouse over the widget configuration window

OBSERVED RESULT
The context menu receives hover and click events while the window does not.

EXPECTED RESULT
The window to get hover events not the context menu

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
On Wayland
Comment 1 Nate Graham 2025-05-27 18:31:44 UTC
Can confirm; how incredibly bizarre!