<?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>509881</bug_id>
          
          <creation_ts>2025-09-24 18:41:48 +0000</creation_ts>
          <short_desc>Metabug: QColorDialog no longer remembers custom colors globally, so each implementation needs to do it manually</short_desc>
          <delta_ts>2025-10-12 12:31:26 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>8</classification_id>
          <classification>I don&apos;t know</classification>
          <product>kde</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>https://codereview.qt-project.org/c/qt/qtbase/+/626629</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>task</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>502957</dependson>
    
    <dependson>509709</dependson>
    
    <dependson>509811</dependson>
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Nate Graham">nate</reporter>
          <assigned_to name="Unassigned bugs">unassigned-bugs-null</assigned_to>
          <cc>k</cc>
    
    <cc>kdedev</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>2457227</commentid>
    <comment_count>0</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-09-24 18:41:48 +0000</bug_when>
    <thetext>https://codereview.qt-project.org/c/qt/qtbase/+/626629 changed QColorDialog to stop saving and loading custom colors globally. As a result, KDE is now receiving bug reports from all quarters about custom colors no longer being saved.

Assuming this behavior won&apos;t be reverted, we need to write some code to save and restore custom colors.

Options I can see:
1. Restore the former behavior by making a wrapper around QColorDialog in plasma-integration that saves and restores custom colors globally, so no changes are required in KDE apps.
2. Make C++ and QML wrappers around QColorDialog that does all of this automatically on behalf of the calling app, and then port all apps to use it.
3. Leave it up to each individual app to handle it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>