Bug 462602

Summary: templates/OverayDrawer: drawerHandle tooltip still visible while tooltip text changes
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:

Description Matej Starc 2022-12-03 17:50:39 UTC
SUMMARY
When hovering over the GlobalDrawer handle it displays/shows a nice little tooltip saying what this tool button does. The problem is that when clicking on the tool button it changes the text before the tooltip closes.


STEPS TO REPRODUCE
1. Open an app that uses an GlobalDrawer (when isMenu = false).
2. Hover over the GlobalDrawer/OverlayDrawer handle/button and wait for the tooltip to appear.
3. Click on the handle/button for the drawer to change its state and closely watch the tooltip.

OBSERVED RESULT
Tooltip changes text before it closes.

EXPECTED RESULT
It should close first, and then change its text for it to look better. Right now, it is not polished as it should be.

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
Already working on an MR that fixes these little annoying problems.
Comment 1 Matej Starc 2022-12-11 10:29:59 UTC
Fixed by me with https://invent.kde.org/frameworks/kirigami/-/commit/b6a599cd29e2d8a8d1b8900f79bb4a05a486b3d2 in Frameworks 5.102.