Bug 416635

Summary: GTK 2 and 3 do not use Breeze by default
Product: [Applications] systemsettings Reporter: Fabian Vogt <fabian>
Component: kcm_styleAssignee: Mikhail Zolotukhin <mail>
Status: RESOLVED FIXED    
Severity: major CC: kde, nate
Priority: NOR    
Version First Reported In: 5.17.90   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.18.0
Sentry Crash Report:

Description Fabian Vogt 2020-01-23 08:59:07 UTC
After login, both .config/gtkrc and .config/gtkrc-2.0 exist, but only in .config/gtkrc the theme is set to Breeze.
This means that GTK2 uses the fallback theme by default.

GTK3 also uses Adwaita by default. The theme is not set in .config/gtk-3.0/settings.ini.

Also, with this, is the kconf_update script in breeze-gtk still needed/used?
Comment 1 Mikhail Zolotukhin 2020-02-04 17:39:31 UTC
Git commit d892dc2b44ae3fa4a8c1f86e4a92df23b4c18cdd by Mikhail Zolotukhin.
Committed on 04/02/2020 at 17:38.
Pushed by gikari into branch 'Plasma/5.18'.

Upgrade theme to Breeze GTK on startup

Also apply it, if the config is empty. This is a port of kconf_update
script from `breeze-gtk` repo, but this time it use gtkconfig kded
module methods to manipulate config (to avoid code duplication and to
write config to all possible configuration storages).

Also kded module updates config for theme on every start, if it is
empty.

Summary:
FIXED-IN: 5.18.0

Test Plan:

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26891

M  +1    -0    CMakeLists.txt
A  +38   -0    kconf_update/CMakeLists.txt
A  +3    -0    kconf_update/gtkconfig.upd
A  +56   -0    kconf_update/gtktheme.cpp     [License: GPL (v2/3)]
M  +2    -2    kded/configeditor.cpp

https://commits.kde.org/kde-gtk-config/d892dc2b44ae3fa4a8c1f86e4a92df23b4c18cdd