GTK dark theme not applying in some apps

The Breeze Dark theme is no longer properly applying in some GTK apps such as fre:ac and any GUI that relies on a Zenity menu—this behavior started a few days ago. GTK apps that use Adwaita like Flatseal and Warehouse are working with the proper dark theme. So far, I have tried: * Toggling / resetting my color and global theme multiple times * Running ujust restore-bazzite-breeze-gtk-theme multiple times * Manually performing the same copy-paste operations found in ujust restore-bazzite-breeze-gtk-theme None of these have solved the problem.
No description
No description
No description
Solution:
OK, it appears I've found the solution: Some apps require manually overriding their environment variable with GTK_THEME=Breeze (not Breeze-Dark—this is an outdated repo). What theme they're trying to load before the override I have no idea, but this seems to be the fix alongside opening those filesystem paths.
Jump to solution
10 Replies
renner
renner6d ago
it seems fre:ac is not recognizing the dark theme preference when you set breeze try setting it to adw-gtk3-dark for all gtk3 apps to have this theme file a bug report here: https://github.com/enzo1982/freac setting GTK_THEME=adw-gtk3-dark in flatseal if you only want it to apply to this app works as well
termdisc
termdisc6d ago
what I did before was globally grant flatpak permissions to xdg-config/gtk-3.0:ro and gtk-4.0:ro
Pixelguin
PixelguinOP6d ago
These workarounds are working, thank you both! I'll file an issue for each of the affected apps if there isn't one already.
renner
renner6d ago
ymmv, theming is a mess "theming"
Pixelguin
PixelguinOP2d ago
Okay, so the plot thickens...on a brand-new installation of Bazzite on a different machine, the dark theme DOES correctly apply to everything. It's only when the GTK theme is manually set to Breeze in KDE's settings that it breaks—before that, the GTK theme is set to an empty value of sorts and it can't be changed back. Where would all this theme info be stored? I ran a diff check on my home folder before and after changing that setting that breaks the themeing, and I couldn't find any difference that I could revert to fix the theme once it broke.
Victini
Victini2d ago
I wonder if installing the Breeze GTK theme in Flatpak would do anything yup
Victini
Victini2d ago
this is on OnlyOffice where I had this problem, FWIW
No description
Victini
Victini2d ago
Setting it globally does break libadwaita apps so, just keep that in mind
Pixelguin
PixelguinOP20h ago
If you mean org.gtk.Gtk3theme.Breeze, it appears that is already installed on the system. I think it may be some permissions issue with the flatpak as running the AppImage of the same program has the theme apply correctly, but opening xdg-config/gtk-3.0 and xdg-config/gtk-4.0 globally didn't fix it. Trying to search further for the issue brings up my own Answer Overflow page as the top result too 😅
Solution
Pixelguin
Pixelguin20h ago
OK, it appears I've found the solution: Some apps require manually overriding their environment variable with GTK_THEME=Breeze (not Breeze-Dark—this is an outdated repo). What theme they're trying to load before the override I have no idea, but this seems to be the fix alongside opening those filesystem paths.

Did you find this page helpful?