Bug 515161 - KWIN should filter QMenu windows in overview, present-windows and similar effects
Summary: KWIN should filter QMenu windows in overview, present-windows and similar eff...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-window-management (other bugs)
Version First Reported In: 6.5.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-27 16:33 UTC by Guido
Modified: 2026-01-29 12:35 UTC (History)
1 user (show)

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


Attachments
window menu (349.83 KB, image/png)
2026-01-29 12:35 UTC, Guido
Details

Note You need to log in before you can comment on or make changes to this bug.
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)