Bug 369868

Summary: Plasma can't handle themes with incomplete "colors"
Product: [Plasma] plasmashell Reporter: FabiB <plusfabi>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: bshah, nate, notuxius, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.7.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: parts-of-plasma-arent-modified

Description FabiB 2016-10-04 15:05:05 UTC
for a plasma theme i wanted to have the following feature:

1. switch background color for panel and tooltips by system-color-text-highlight.
2. text should always ALWAYS be black(dark)

to do this i have created a theme with a "colors" file. because i know that without colors file, plasma now will take the systemcolors, i have removed everything but the "ForegroundNormal" lines.

with success... well not exactly. the color now changes like it wanted to but i have to manually reload the theme after a color change

Reproducible: Always



Expected Results:  
The theme should always just read the colors-file given colors that are in there and if one is missing, using the systemcolors

https://youtu.be/PrbTw2czcTI <- you can see there - i always need to "reload" the theme until the colorchange will work
Comment 1 Alexander Mentyu 2017-11-26 16:47:19 UTC
1) After changing theme in 'Look And Feel' module - theme in LnF window and in Panel changing to selected, but Application Color Scheme is loaded with currently selected color scheme there and isn't changing after applying new look and feel. 
2) After selecting new color scheme in 'Application Color Scheme' window - the 'Look And Feel' window is repainted with newly select color scheme - but main panel is very often not repainted with selected color scheme.
Comment 2 David Edmundson 2017-11-26 22:20:34 UTC
Please include your theme so we can reprouce it easily.
Comment 3 Alexander Mentyu 2017-12-01 05:04:13 UTC
Created attachment 109143 [details]
parts-of-plasma-arent-modified

Video with demonstration
Comment 4 Nate Graham 2021-03-10 00:21:58 UTC
These bugs were fixed a few years ago. :)