Bug 527382 - Bug in `System Settings - Appearance & Style - Colours & Themes - Colours` when editing colours.
Summary: Bug in `System Settings - Appearance & Style - Colours & Themes - Colours` wh...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_colors (other bugs)
Version First Reported In: 6.8.0
Platform: KDE Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-10-18 21:44 UTC by kdemeoz
Modified: 2026-10-19 20:40 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.8.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kdemeoz 2026-10-18 21:44:08 UTC
NB: I said `6.8.0` above, but given i'm using `kdelinux`, whose desktop watermark says `KDE Plasma 6.9 Dev`, but 6.9 seems omitted from the pick-list, my choice might be incorrect. 


DESCRIPTION
When seeking to create a custom dark-scheme colour palette by editing an existing stored dark-scheme colour palette, upon opening the edit windowlet all the colours have flipped to light-scheme mode. That is, whereas pre-edit the view & window [etc] backgrounds were a dark colour, with their respective text items a light colour for suitable contrast, upon editing all backgrounds have become light, all text dark, apparently just as if the user had been editing a light-scheme rather than a dark scheme. Users must then tediously go through **all** the items & manually "flip" them back, before editing their actually desired fields for customisation. However, if they do not get it absolutely as they want it, first time, all that work is lost when re-opening the edit, because it once more flips back to light-mode. 

STEPS TO REPRODUCE
1. Open System Settings & navigate to Appearance & Style - Colours & Themes - Colours
2. Pick any available dark-mode scheme, or install any third-party one
3. Click its Edit button to open its Editing windowlet


OBSERVED RESULT
4. Observe that all background fields previously dark have now flipped to light, & all text fields previously light have now flipped to dark

EXPECTED RESULT
Any dark-scheme before invoking the edit option should remain dark once editing has initiated. 

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a terminal window): KDE Linux 2026-10-15 14:28, but also at least some preceding builds [ie, i cannot identify when the bug first arose]
KDE Plasma Version: 6.8.80
KDE Frameworks Version: 6.32.0
Qt Version: 6.12.0

ADDITIONAL INFORMATION
Originally mentioned in https://discuss.kde.org/t/bugs-in-system-settings-appearance-style-colors-themes-colors/50933
Comment 1 cwo 2026-10-19 12:21:55 UTC
I can reproduce this, but only the second time I open the color scheme editing dialog - the first time I open it, it sets the theme colors correctly, but all subsequent times it breaks and resets it to some default. The only way to get the correct behavior back is to restart system settings, when it will work again (one time, then it breaks).
Comment 2 Bug Janitor Service 2026-10-19 12:55:42 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/7252
Comment 3 Akseli Lahtinen 2026-10-19 19:18:41 UTC
Git commit 59d0f134d483cf2783ced425ff802e845a053451 by Akseli Lahtinen.
Committed on 19/10/2026 at 15:38.
Pushed by akselmo into branch 'master'.

Colors: unexportTopLevel on editor close

The activation token was never unexported or closed, causing the process
to always run. The editor would in these cases just start with
the default colorscheme instead of the current selected one, as
the handle was already taken.
FIXED-IN: 6.8.1

M  +6    -1    kcms/colors/colors.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/59d0f134d483cf2783ced425ff802e845a053451
Comment 4 Akseli Lahtinen 2026-10-19 20:40:38 UTC
Git commit 6a0bf9fad1fc743e4139617abab2c1abc3962153 by Akseli Lahtinen.
Committed on 19/10/2026 at 20:01.
Pushed by akselmo into branch 'Plasma/6.8'.

Colors: unexportTopLevel on editor close

The activation token was never unexported or closed, causing the process
to always run. The editor would in these cases just start with
the default colorscheme instead of the current selected one, as
the handle was already taken.
FIXED-IN: 6.8.1


(cherry picked from commit 0da6cfa78fb1d1eba120c424216c26875702346d)

Co-authored-by: Akseli Lahtinen <akselmo@akselmo.dev>

M  +6    -1    kcms/colors/colors.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/6a0bf9fad1fc743e4139617abab2c1abc3962153