Bug 446074 - Gtk Colors don't update when changing the global theme from command line
Summary: Gtk Colors don't update when changing the global theme from command line
Status: RESOLVED FIXED
Alias: None
Product: Plasma SDK
Classification: Plasma
Component: General (show other bugs)
Version: 5.23.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-25 12:01 UTC by Lorenz Hoffmann
Modified: 2023-01-15 10:53 UTC (History)
2 users (show)

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


Attachments

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