Bug 462587

Summary: GlobalDrawer handle tooltip is under non-menu drawer
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Matej Starc <matej.starc>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: notmart
Priority: NOR    
Version First Reported In: Master   
Target Milestone: Not decided   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.102
Sentry Crash Report:
Attachments: bug screenshot

Description Matej Starc 2022-12-03 14:07:01 UTC
Created attachment 154265 [details]
bug screenshot

SUMMARY
GlobalDrawer's handle tooltip is displayed below the drawer.

STEPS TO REPRODUCE
1. Open an application that uses the GlobalDrawer component.
2. Open the GlobalDrawer component.
3. Hover over the close button.

OBSERVED RESULT
The ToolTip is under the drawer (wrong z index property).

EXPECTED RESULT
The ToolTip should be displayed above the drawer.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 6.0.10-zen2-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8700 CPU @ 3.20GHz
Memory: 15,5 GiB of RAM
Graphics Processor: AMD Radeon RX 480 Graphics

ADDITIONAL INFORMATION
This is caused by this line: https://invent.kde.org/frameworks/kirigami/-/blob/master/src/controls/templates/OverlayDrawer.qml#L25.

The fix should be done inside controls/GlobalDrawer by overwriting the z property to something else.
When I tried setting it to random values, it always fixed the problem (even when setting it to -Infinity).
Comment 1 Matej Starc 2022-12-11 10:35:02 UTC
Fixed by me with https://invent.kde.org/frameworks/kirigami/-/commit/b6a599cd29e2d8a8d1b8900f79bb4a05a486b3d2 in Frameworks 5.102.