Bug 510218

Summary: Appmenu opens menus over each other when it can't place them properly
Product: [Plasma] kwin Reporter: Martin Bednar <martin+kde>
Component: appmenuAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: 6.4.90   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Showcase

Description Martin Bednar 2025-10-04 09:00:27 UTC
Created attachment 185501 [details]
Showcase

SUMMARY
Using appmenu, when the menu doesn't have enough space to open hierarchies on the right of menu, it opens them over the menu, rendering access to upper hierarchy impossible.

STEPS TO REPRODUCE
1.  Move window so that appmenu icon is close to the right screen border
2. open appmenu from window title bar
3. Navigate a menu with multiple hierarchies

OBSERVED RESULT
See menu hierarchies open over each other

EXPECTED RESULT
Hierarchies open to the left of main menu, leaving the main menu accessible


SOFTWARE/OS VERSIONS
Operating System: Gentoo 2.17
KDE Plasma Version: 6.4.90
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.9-gentoo-dist-hardened (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen AI 9 HX 370 w/ Radeon 890M
Memory: 64 GiB of RAM (62.1 GiB usable)
Graphics Processor: AMD Radeon 890M Graphics
Manufacturer: Framework
Product Name: Laptop 13 (AMD Ryzen AI 300 Series)
System Version: A9
Comment 1 David Redondo 2025-10-06 13:18:18 UTC
This is upstream Qt behavior it can also be observed in "normal menus". A proper solution is in the works.