Bug 369868 - Plasma can't handle themes with incomplete "colors"
Summary: Plasma can't handle themes with incomplete "colors"
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.7.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-04 15:05 UTC by FabiB
Modified: 2021-03-10 00:21 UTC (History)
4 users (show)

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


Attachments
parts-of-plasma-arent-modified (588.93 KB, video/mp4)
2017-12-01 05:04 UTC, Alexander Mentyu
Details

Note You need to log in before you can comment on or make changes to this bug.
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. :)