Bug 462587 - GlobalDrawer handle tooltip is under non-menu drawer
Summary: GlobalDrawer handle tooltip is under non-menu drawer
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: Master
Platform: Arch Linux Linux
: NOR normal
Target Milestone: Not decided
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-03 14:07 UTC by Matej Starc
Modified: 2022-12-11 10:35 UTC (History)
1 user (show)

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


Attachments
bug screenshot (75.63 KB, image/png)
2022-12-03 14:07 UTC, Matej Starc
Details

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