Bug 403774

Summary: New Colors KCM: Error message while breeze dark look and feel theme is used
Product: [Applications] systemsettings Reporter: Patrick Silva <bugseforuns>
Component: kcm_colorsAssignee: Matthew Woehlke <mwoehlke.floss>
Status: RESOLVED FIXED    
Severity: normal CC: jpwhiting, kde
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.15.0
Sentry Crash Report:
Attachments: screenshot

Description Patrick Silva 2019-01-30 18:27:29 UTC
Created attachment 117741 [details]
screenshot

STEPS TO REPRODUCE
1. set breeze dark theme in system settings > Desktop Theme > Look and Feel
2. open system settings > Colors
3. 

OBSERVED RESULT
bar on top shows error message, see the screenshot.

EXPECTED RESULT
no error message

SOFTWARE/OS VERSIONS
Operating System: KDE neon Developer Edition
KDE Plasma Version: 5.15.80
KDE Frameworks Version: 5.54.0
Qt Version: 5.12.0
Comment 1 Kai Uwe Broulik 2019-02-05 11:16:41 UTC
Git commit bbf848a92a37eeba4aed15e21eb1296d837029f8 by Kai Uwe Broulik.
Committed on 05/02/2019 at 11:16.
Pushed by broulik into branch 'Plasma/5.15'.

[Look and Feel KCM] Write schemeName last

We copy the .colors file's contents into kdeglobals and I have seen many of them containing bogus

[General]
ColorScheme=Some Other Scheme
which makes no sense. Ensure the ColorScheme that ends up in kdeglobals is the scheme defined by the look and feel package.
FIXED-IN: 5.15.0

Differential Revision: https://phabricator.kde.org/D18754

M  +3    -2    kcms/lookandfeel/kcm.cpp

https://commits.kde.org/plasma-desktop/bbf848a92a37eeba4aed15e21eb1296d837029f8