<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>514983</bug_id>
          
          <creation_ts>2026-01-23 17:35:22 +0000</creation_ts>
          <short_desc>Unable to re-pick the same color after deleting it</short_desc>
          <delta_ts>2026-01-26 19:40:41 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Color Picker widget</component>
          <version>6.5.5</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Erika">hataraku-kde</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>kde</cc>
    
    <cc>nate</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/kdeplasma-addons/-/commit/1b2603d19a8585ae1439d2d5174bbe0936bff90a</cf_commitlink>
          <cf_versionfixedin>6.6.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2487789</commentid>
    <comment_count>0</comment_count>
    <who name="Erika">hataraku-kde</who>
    <bug_when>2026-01-23 17:35:22 +0000</bug_when>
    <thetext>***
If you&apos;re not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you&apos;re reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. Pick a color with the color picker
2. Delete the color from the most recent ones
3. Pick the same color again

OBSERVED RESULT
The color doesn&apos;t get picked up

EXPECTED RESULT
The color should be picked up

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Fedora Linux 43
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
None</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2487808</commentid>
    <comment_count>1</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2026-01-23 18:16:42 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/987</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2488680</commentid>
    <comment_count>2</comment_count>
    <who name="cwo">cwo.kde</who>
    <bug_when>2026-01-26 19:07:56 +0000</bug_when>
    <thetext>Git commit 016448f4d3058bb02bd04e1f58197367f8b870b6 by Christoph Wolk.
Committed on 26/01/2026 at 17:19.
Pushed by cwo into branch &apos;master&apos;.

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&apos;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&apos;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&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2488689</commentid>
    <comment_count>3</comment_count>
    <who name="cwo">cwo.kde</who>
    <bug_when>2026-01-26 19:40:41 +0000</bug_when>
    <thetext>Git commit 1b2603d19a8585ae1439d2d5174bbe0936bff90a by Christoph Wolk.
Committed on 26/01/2026 at 19:09.
Pushed by cwo into branch &apos;Plasma/6.6&apos;.

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&apos;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&apos;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&apos;t return early if unchanged, and always send the Changed
signal.
FIXED-IN: 6.6.0


(cherry picked from commit 016448f4d3058bb02bd04e1f58197367f8b870b6)

Co-authored-by: Christoph Wolk &lt;cwo.kde@posteo.net&gt;

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

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/1b2603d19a8585ae1439d2d5174bbe0936bff90a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>