Bug 489688

Summary: The information popup shows a flashing tooltip when it covers the ContextualHelpButton
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: JT Hundley <JThundley>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: coolmule0, isma.af, karl, kdedev, nate, notmart, Renner03
Priority: NOR    
Version: Master   
Target Milestone: Not decided   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 6.7
Sentry Crash Report:
Attachments: A short video showing the tooltip flashing until the window is resized to be larger.

Description JT Hundley 2024-07-03 17:18:48 UTC
Created attachment 171337 [details]
A short video showing the tooltip flashing until the window is resized to be larger.

SUMMARY
The information popup from certain properties shows a flashing tooltip if the window is too small. If the window is big enough, the tooltip shows and remains on screen properly.


STEPS TO REPRODUCE
1. Create a window rule or edit an existing one.
2. Add a property with an information tooltip, like Focus stealing prevention.
3. Resize the window to be reasonably small.

OBSERVED RESULT
The tooltip flashes on screen and is impossible to read.

EXPECTED RESULT
I expect the tooltip to remain on screen as long as my cursor is over the information tooltip icon. If you resize the window to be larger, at some size the tooltip will properly remain on screen.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 5.3.0
Qt Version: 5.7.2

ADDITIONAL INFORMATION
Comment 1 TraceyC 2024-07-10 17:52:57 UTC
I've confirmed this behavior on Solus Plasma 6

Operating System: Solus 4.5
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.8-294.current (64-bit)
Graphics Platform: X11
Comment 2 Bug Janitor Service 2024-07-10 20:15:26 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/1584
Comment 3 Ismael Asensio 2024-07-12 18:42:43 UTC
*** Bug 490192 has been marked as a duplicate of this bug. ***
Comment 4 Ismael Asensio 2024-09-18 16:25:08 UTC
*** Bug 493328 has been marked as a duplicate of this bug. ***
Comment 5 Ismael Asensio 2024-09-20 13:51:04 UTC
Git commit 7c011959dbe2b67de71b8f06a24b4b3a31fc312b by Ismael Asensio.
Committed on 18/09/2024 at 16:34.
Pushed by iasensio into branch 'master'.

ContextualHelpButton: Fix flickering when the popup covers the button

On smaller windows, the toolTip popup can cover the contextual button,
so the hover condition is lost and the toolTip closes. This makes the
button get hovered again, which results in a continuous open/close loop

Let's keep the tooltip open also when the popup itself is hovered
FIXED-IN: 6.6

M  +8    -1    src/controls/ContextualHelpButton.qml

https://invent.kde.org/frameworks/kirigami/-/commit/7c011959dbe2b67de71b8f06a24b4b3a31fc312b