https://bugs.kde.org/show_bug.cgi?id=465154
Bug ID: 465154 Summary: Inconsistent Z-order for GlobalDrawer{} with Controls.Menu{}. Classification: Frameworks and Libraries Product: frameworks-kirigami Version: 5.102.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kdelibs-b...@kde.org Reporter: inbox@willchen.business CC: notm...@gmail.com Target Milestone: Not decided SUMMARY When a `GlobalDrawer{}` contains items that open a `Controls.Menu{}` on right click, and you keep repeatedly right clicking on those items to close and open that menu, eventually the `GlobalDrawer{}` will seem to gain some kind of focus and the `Menu{}` will begin to show up underneath the `GlobalDrawer{}` instead of on top of it. STEPS TO REPRODUCE A minimum reproducer and screenshots of the expected and broken behaviour are provided in the below repository. Check the main commit as well for a clear view of everything required: https://invent.kde.org/intralexical/globaldrawerzorder_bug-reproducer 1. Right click on a button in a GlobalDrawer{} that opens a Menu{}. 2. When the Menu{} is open, move your mouse left or up a bit, off of the Menu{}. 3. Left or right click on either the button or the area around it to close the Menu{}. 4. Do this repeatedly. OBSERVED RESULT 5. Eventually, the GlobalDrawer{} will seem to gain focus on click, and move to on top of the Menu{}. 6. Once this happens, all subsequent times opening the Menu{} will also show it underneath the drawer. EXPECTED RESULT Right-click context menu should always be shown on top of the UI elements it contextualizes. SOFTWARE/OS VERSIONS KDE Plasma Version: 5.26.5 KDE Frameworks Version: 5.102.0 Qt Version: 5.15.8 -- You are receiving this mail because: You are watching all bug changes.