Bug 515161

Summary: KWIN should filter QMenu windows in overview, present-windows and similar effects
Product: [Plasma] kwin Reporter: Guido <guido.iodice>
Component: effects-window-managementAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: guido.iodice
Priority: NOR    
Version First Reported In: 6.5.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: window menu

Description Guido 2026-01-27 16:33:33 UTC
SUMMARY
Using material decoration with Locally Integrated Menu, when effects such as Overview, Desktop-Grid and Present-Windows are activated, the QMenu window is displayed separately, as shown in the attached video.
Although this is a non-standard decoration, the problem may arise when LIM is implemented in Breeze as planned by the developers.


STEPS TO REPRODUCE
1. Install and select material-decoration (https://github.com/guiodic/material-decoration)
2. Open a menu in the decoration
3. Enable the Overview, Present Windows, or Desktop Grid effect.

OBSERVED RESULT
QMenu window is displayed separately

EXPECTED RESULT
Ideally, the QMenu window should be displayed inside the app window but this is difficult IMHO.
Tuttavia, può bastare che la finestra QMenu non venga mostrata affatto. 

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1
Kernel Version: 6.19.0-rc7-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 16 GiB of RAM (15.3 GiB usable)
Graphics Processor: Intel® Iris® Xe Graphics


ADDITIONAL REQUEST
If there is a way to mark the QMenu window to prevent it from being displayed, please let me know so that I can modify the decoration.
Comment 1 Guido 2026-01-29 12:35:04 UTC
Created attachment 189030 [details]
window menu

The same for right-click menu in other decorations (see screenshot)