<?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>502957</bug_id>
          
          <creation_ts>2025-04-18 04:42:48 +0000</creation_ts>
          <short_desc>Save and restore custom colors</short_desc>
          <delta_ts>2025-09-24 18:42:04 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kcolorchooser</product>
          <component>general</component>
          <version>25.04.2</version>
          <rep_platform>openSUSE</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>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>509881</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Claire">accounts</reporter>
          <assigned_to name="Unassigned bugs">unassigned-bugs-null</assigned_to>
          <cc>andrew</cc>
    
    <cc>balazs</cc>
    
    <cc>clesioteixeira</cc>
    
    <cc>fausto.nunez</cc>
    
    <cc>nate</cc>
    
    <cc>welcomebacktomyreality</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>2416825</commentid>
    <comment_count>0</comment_count>
    <who name="Claire">accounts</who>
    <bug_when>2025-04-18 04:42:48 +0000</bug_when>
    <thetext>SUMMARY
The custom colors I had saved wiped. No problem, I figured I&apos;d just set them back up. Do so, then click okay. Open kcolorpicker again and -- well, the colors are gone again. 

STEPS TO REPRODUCE
1. Add a bunch of custom colors
2. Click okay on KColorChooser
3. Relaunch KColorChooser

OBSERVED RESULT
All custom colors reverted to #ffffff

EXPECTED RESULT
My color schemes should probably save.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0
Kernel Version: 6.14.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X3D 8-Core Processor
Memory: 31.2 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2060 SUPER</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2437250</commentid>
    <comment_count>1</comment_count>
    <who name="fausto.nunez@mailbox.org">fausto.nunez</who>
    <bug_when>2025-06-29 09:15:03 +0000</bug_when>
    <thetext>I can reproduce this issue on NixOS with KDE Plasma 6.4.1 and Qt 6.9.0.

Using `strace` to monitor file access, kcolorchooser only reads configuration files but never writes when saving custom colors. The application shows no `write()` system calls to any config files during the save operation.

Custom colors persist within the current session but are lost on restart because they&apos;re never written to disk. Previously I was able to manually edit ~/.config/QtProject.conf to customize the palette, but that no longer works as kcolorchooser appears to ignore Qt&apos;s standard custom color configuration.

**Expected:** Custom colors should be saved to `~/.config/QtProject.conf` or KDE config files.  
**Actual:** No configuration data is written anywhere.

This appears to be a missing save implementation rather than a file permission or path issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2438141</commentid>
    <comment_count>2</comment_count>
    <who name="">welcomebacktomyreality</who>
    <bug_when>2025-07-03 04:24:37 +0000</bug_when>
    <thetext>I&apos;m experiencing the same behavior after updating on Mint; custom colors saved previously are gone &amp; no longer saving after application closes. Been using this software very frequently recently &amp; issue occurred immediately after only updating the program.

Version: 25.04.2
OS: KDE Flatpak runtime 6.9 (x86_64)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2453035</commentid>
    <comment_count>3</comment_count>
    <who name="TxTechnician">andrew</who>
    <bug_when>2025-09-07 05:51:09 +0000</bug_when>
    <thetext>I&apos;ve had the same problem since July.  

As of now I&apos;m search of just manually configuring the custom colors.  But the color picker doesn&apos;t appear to load any data when It is called.  Happens globally, no matter the app (spectacle, kcolorchooser, etc).  Anything that uses QtColor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2453669</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-09-10 06:50:56 +0000</bug_when>
    <thetext>*** Bug 507963 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2454398</commentid>
    <comment_count>5</comment_count>
    <who name="">welcomebacktomyreality</who>
    <bug_when>2025-09-15 06:02:43 +0000</bug_when>
    <thetext>Switched to system package of KColorChooser for Linux Mint Xfce &amp; it works there. Version 21.12.3  
  
Flatpak version still not working: Version 25.08.1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>