maldoinc/plasma-theme-switcher

GTK Breeze not matching on Plasma 5.20.4

Opened this issue · 3 comments

Great work.

I'm on the develop branch, all works well, except the new 'Breeze' GTK theme (no Breeze Dark available). It does not update to dark.

It works when switching from System Settings -> Colors, then reopening. But not when running:
./plasma-theme --colors /usr/share/color-schemes/BreezeDark.colors --widgetStyle Breeze

image

I'm on latest Manjaro KDE, with KDE Plasma v5.20.4, running current develop branch code.

image

This is a little bit of a known issue. When plasma applies the settings it exports the colors for GTK apps as well. However I use only Qt apps so I never bothered to make this compatible with GTK apps as well. If you know C++ and are interested to implement it let me know and I can point you to the code in plasma responsible for applying the GTK settings.

It's not that big of a deal. It's just a couple of non-Qt apps that I'm using.

But, yes, do point me to the C++ code, I'll have a look! Cheers :)

Looks like runRdb is the correct method which exports the colors. Here you can see it being called from the colors KCM. You can see from here how it's done but I dont think we can just use the code directly.