Bug 446074

Summary: Gtk Colors don't update when changing the global theme from command line
Product: [Plasma] Plasma SDK Reporter: Lorenz Hoffmann <hoffmann_lorenz>
Component: GeneralAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: 2797516208, antonis.tsiapaliokas
Priority: NOR    
Version First Reported In: 5.23.3   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Lorenz Hoffmann 2021-11-25 12:01:30 UTC
SUMMARY
Changing the global design via `lookandfeeltool -a <theme>` doesn't update the GTK color theme. 

STEPS TO REPRODUCE
1. Set the global theme to Breeze in the system settings
2. Run `lookandfeeltool -a org.kde.breezedark.desktop` from the command line
3. Look at the GTK preview in the system settings or open a GTK app

OBSERVED RESULT
The colors used by the GTK apps matches the colors from Breeze.

EXPECTED RESULT
Colors should match with Breeze Dark.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.2-2-MANJARO (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i5-10400F CPU @ 2.90GHz
Memory: 15.5 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2

ADDITIONAL INFORMATION
-
Comment 1 Lorenz Hoffmann 2021-11-27 23:14:19 UTC
Since it works using the settings application and doesn't when using lookandfeeltool, it seems like they are using different backends. For the future, I think it would be better if they both use the same library / dbus call / whatever.
Comment 2 2797516208 2021-12-08 13:18:59 UTC
I find that executing `lookandfeeltool -a <theme>` twice works fine.
Comment 3 Lorenz Hoffmann 2023-01-15 10:53:52 UTC
Seems to be fixed