Bug 489688 - The information popup shows a flashing tooltip when it covers the ContextualHelpButton
Summary: The information popup shows a flashing tooltip when it covers the ContextualH...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: Master
Platform: Arch Linux Linux
: NOR normal
Target Milestone: Not decided
Assignee: kdelibs bugs
URL:
Keywords:
: 490192 493328 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-07-03 17:18 UTC by JT Hundley
Modified: 2024-09-20 18:25 UTC (History)
7 users (show)

See Also:
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. (947.87 KB, video/x-matroska)
2024-07-03 17:18 UTC, JT Hundley
Details

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