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

cwo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
            Version|                            |6.6.0
  Fixed/Implemented|                            |
                 In|                            |
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kdeplasma-addons/-/commi
                   |                            |t/016448f4d3058bb02bd04e1f5
                   |                            |8197367f8b870b6

--- Comment #2 from cwo <[email protected]> ---
Git commit 016448f4d3058bb02bd04e1f58197367f8b870b6 by Christoph Wolk.
Committed on 26/01/2026 at 17:19.
Pushed by cwo into branch 'master'.

applets/colorpicker: always send currentColorChanged

GrabWidget returns early if the currentColor is changed to the same
color it already is. While this is usually a good idea, it's not here
– the color being set only happens when the user has completed picking
a color, and the widget needs to be informed about this. There's some
extra deduplicating logic there anyway, and re-picking the same color
is legitimate - the user may do this to copy it to the clipboard again,
or may have deleted it from the history, then reconsidered and now try
to re-add it by picking the same color again.

Instead, don't return early if unchanged, and always send the Changed
signal.
FIXED-IN: 6.6.0

M  +2    -3    applets/colorpicker/grabwidget.cpp

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/016448f4d3058bb02bd04e1f58197367f8b870b6

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

Reply via email to