<?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>509709</bug_id>
          
          <creation_ts>2025-09-20 12:03:37 +0000</creation_ts>
          <short_desc>Spectacle doesn&apos;t remember colours added to  custom colours for the highlighter</short_desc>
          <delta_ts>2025-10-13 15:39:41 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>Spectacle</product>
          <component>General</component>
          <version>6.4.5</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>509881</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Aniruddha Shankar">k</reporter>
          <assigned_to name="Noah Davis">noahadvs</assigned_to>
          <cc>kde</cc>
    
    <cc>nate</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2456062</commentid>
    <comment_count>0</comment_count>
    <who name="Aniruddha Shankar">k</who>
    <bug_when>2025-09-20 12:03:37 +0000</bug_when>
    <thetext>SUMMARY
I prefer to highlight text using the same shade of yellow and am happy that spectacle allows me to choose the colour. The functionality to have that colour added to custom colours appears to be present but despite apparently adding the colour, the next time spectacle is opened, the colour is missing from the squares of custom colours.

STEPS TO REPRODUCE
1. Attempt to take a screenshot of a portion of the screen using the meta+shift+s shortcut
2. Click on Highlighter
3. Click on the yellow colour square
4. Select HTML #ffe600 as a chosen custom colour
5. Click add to custom colours
6. successfully highlight chosen portions of the screen
7. Attempt to take a second screenshot of a portion of the screen using meta+shift+s
8. Click on highlighter
9. Squares containing custom colours are back to white.

OBSERVED RESULT
Squares containing custom colours are back to white.


EXPECTED RESULT
Squares containing custom colours contain custom colour

SOFTWARE/OS VERSIONS

Operating System: Gentoo Linux 2.17
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.2
Kernel Version: 6.12.41-gentoo-09 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X3D 8-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 3080 Ti</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2456826</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-09-23 17:37:54 +0000</bug_when>
    <thetext>I think this may be the result of a behavior change (or regression?) in the upstream Qt color picker widget. In the past it automatically saved custom colors; now it doesn&apos;t, and it appears to be up to the client to save them.

If this change was intentional, I imagine it was done so each app can save its own set of custom colors, rather than the dialog itself saving the custom colors systemwide, because that made it impossible to have app-specific custom color lists. But it does have the side effect of requiring work for each app that does want to save custom colors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2461374</commentid>
    <comment_count>2</comment_count>
    <who name="Aniruddha Shankar">k</who>
    <bug_when>2025-10-12 12:21:46 +0000</bug_when>
    <thetext>so how would I save custom colours for Spectacle? Can&apos;t find an option in the Spectacle config.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2461621</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-10-13 15:39:41 +0000</bug_when>
    <thetext>You can&apos;t. The feature hasn&apos;t been implemented in Spectacle yet, which is what needs to happen now ever since Qt removed the feature from the color dialog itself. That&apos;s what this Bugzilla ticket tracks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>