https://bugs.kde.org/show_bug.cgi?id=499912
--- Comment #6 from cwo <cwo....@posteo.net> ---
Git commit 6456c6f8aa1a2c6d79dd61fe23d280f3380ef3c8 by Christoph Wolk.
Committed on 18/02/2025 at 10:04.
Pushed by cwo into branch 'Plasma/6.3'.

applets/colorpicker: fix tooltips

Colorpicker sets custom tooltips for its buttons (pick and color value).
However, these do no actually work while they are in a panel, only while
the fullRepresentation popup is open. This is because the automatic
tooltip generation from the compactRepresentation loader kicks in, sees
that the plasmoid's own tooltip values are null, and "helpfully"
replaces the intended custom values with default ones. Due to the
specific timing involved with the multiple stacked ToolTipAreas, there
is also a visual glitch as the user moves the mouse over the applet,
where the intended content can briefly flash in for a fraction of a
second.

Instead, set the plasmoid's thumbnail main and sub text to empty string;
this prevents the automatic assignment of a default tooltip and resolves
the glitchy appearance.


(cherry picked from commit fae8cfce308ada57a8dc557460386b437a15a0af)

Co-authored-by: Christoph Wolk <cwo....@posteo.net>

M  +3    -0    applets/colorpicker/package/contents/ui/main.qml

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/6456c6f8aa1a2c6d79dd61fe23d280f3380ef3c8

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

Reply via email to