[kde] [Bug 509881] New: metabug: QColorDialog no longer remembers custom colors globally, so each implementation needs to do it manually

Nate Graham bugzilla_noreply at kde.org
Wed Sep 24 19:41:48 BST 2025


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

            Bug ID: 509881
           Summary: metabug: QColorDialog no longer remembers custom
                    colors globally, so each implementation needs to do it
                    manually
    Classification: I don't know
           Product: kde
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: task
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: nate at kde.org
  Target Milestone: ---

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'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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list