https://bugs.kde.org/show_bug.cgi?id=518866

--- Comment #4 from cwo <[email protected]> ---
Git commit a5c11b8d7f02984d5ca691fa40525aa182927d4f by Christoph Wolk.
Committed on 17/11/2026 at 07:45.
Pushed by cwo into branch 'master'.

declarativeimports/core: allow pinning tooltip

ToolTipArea tooltips sensibly close when the pointer enters them, or in
case the tooltip is interactive, once the pointer leaves the tooltip -
having tooltips, in particularly large ones, stick around once they're
no longer in use is annoying.

However, interactive tooltips may sometimes wish to deviate from that.
For example, the Plasma task manager specifically allows the user to
open the tooltip when clicking grouped tasks, In that case, an easily
dismissed tooltip can be quite frustrating, as it prevents the user from
interacting with it.

So we add a new property pinOpen to ToolTipArea. When it is set, the
tooltip will not close if the user leaves the ToolTipArea nor the
tooltip itself, and other ToolTipAreas will not replace an open pinned
tooltip. It will only close if it is explicitly closed (e.g. with
hideToolTip()).

M  +20   -2    src/declarativeimports/core/tooltiparea.cpp
M  +18   -0    src/declarativeimports/core/tooltiparea.h
M  +27   -2    src/declarativeimports/core/tooltipdialog.cpp
M  +5    -0    src/declarativeimports/core/tooltipdialog.h

https://invent.kde.org/plasma/libplasma/-/commit/a5c11b8d7f02984d5ca691fa40525aa182927d4f

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to