Bug 479667

Summary: Plasma style and window decorations use wrong color scheme
Product: [Plasma] Breeze Reporter: Lorenz Hoffmann <hoffmann_lorenz>
Component: Color schemeAssignee: Plasma Bugs List <plasma-bugs>
Status: REPORTED ---    
Severity: normal CC: heitorm_silva
Priority: NOR    
Version: 6.0.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Applying global theme doesn't change the color scheme
Theme is correct after restarting an app, of starting after the theme changed

Description Lorenz Hoffmann 2024-01-11 21:36:11 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

Plasma style (panels and widgets) and window decorations don't update their colors when changing the color scheme. They seem to be using breeze light no matter what color scheme is set. This occurred only after a recent update.

STEPS TO REPRODUCE
1. Set the global design to Breeze
2. Set the global design to Breeze Dark
3. (optional) change the color scheme.

OBSERVED RESULT
Window decorations and plasmas panels and widgets are still in light mode. Firefox also the light theme as well.

EXPECTED RESULT
Everything should use the colors from Breeze Dark.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.11
Kernel Version: 6.6.9-zen1-1-zen (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 Lorenz Hoffmann 2024-03-09 18:56:27 UTC
This is still happening in Plasma 6. I should also add that I frequently use the lookandfeeltool via Yin & Yang to apply themes, which might or might not be part of the problem.
Comment 2 Lorenz Hoffmann 2024-04-14 18:36:42 UTC
Today I rebooted after an update. The Breeze dark global theme always uses Breeze light colors, no matter which color theme I selected. This makes Breeze Dark and Breeze Light global themes effectively equivalent.
Comment 3 Lorenz Hoffmann 2024-04-14 18:38:00 UTC
Correction: Correct colors are loaded when restarting the application.

Here are my current software versions:
Operating System: Arch Linux 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.5-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Comment 4 Heitor da Silva 2024-06-06 20:41:05 UTC
(In reply to Lorenz Hoffmann from comment #2)
> Today I rebooted after an update. The Breeze dark global theme always uses
> Breeze light colors, no matter which color theme I selected. This makes
> Breeze Dark and Breeze Light global themes effectively equivalent.

Hi.
Could you please be more specific?
Please, add some screenshots and point out what color should be applied and where.
Also show your "Global theme", "Plasma theme" and "Color theme".
Comment 5 Lorenz Hoffmann 2024-06-10 08:36:49 UTC
The behavior changes all the time. Sometimes, it just works. 

Today, I switched from Breeze Dark to Breeze Light (Global Theme), and nothing changed. But when I start a new application, it has the correct color scheme applied, as can be seen in the screenshots.

There were also cases where the color scheme of the apps changed immediately, but not the title bar and task bars.
Comment 6 Lorenz Hoffmann 2024-06-10 08:37:38 UTC
Created attachment 170316 [details]
Applying global theme doesn't change the color scheme
Comment 7 Lorenz Hoffmann 2024-06-10 08:38:17 UTC
Created attachment 170317 [details]
Theme is correct after restarting an app, of starting after the theme changed
Comment 8 Heitor da Silva 2024-06-11 05:30:41 UTC

*** This bug has been marked as a duplicate of bug 444043 ***
Comment 9 Lorenz Hoffmann 2024-06-11 08:27:37 UTC
This report is not about Breeeze Twilight not followimg accent colora. This is about Plasma not applying the color scheme correctly after switching the global theme - sorry if that wasn't clear enough. In the first screenshot, I switched from Breeze dark to Breeze light, yet everything is still in dark mode. The second screenshot shows a newly opened app after the change: it uses the correct color scheme, but the titlebar is still wrong.