vinceliuice / Qogir-theme

Qogir is a flat Design theme for GTK
GNU General Public License v3.0
1.52k stars 119 forks source link

Inconsistent titlebar color. Consider linking libadwaita to Qogir regular instead of light. Hard to read titlebar in GTK4 apps. #321

Open bkanuka opened 1 month ago

bkanuka commented 1 month ago

The titlebar for some apps is light or grey all the time - even when in focus. Likewise, some apps have a dark titlebar regardless of focus. In the screenshot provided,

This is all usiong regular Qogir, but I expernece the same if using the dark or light variant (the "older" apps have a light titlebar).

What is the expected behavour? Personally I would like all the apps to have a dark titlebar, but I can't figure out how to change the "older" apps like PyCharm and Slack (I believe they are using GTK3).

Screenshot from 2024-05-27 18-58-26

bkanuka commented 1 month ago

I will add that changing the Legacy Application theme to "Adwaita-dark" causes the legacy apps to have a dark titlebar when in focus, and light when out of focus. However, I want to stick to using Qogir :wink:

bkanuka commented 1 month ago

I (mostly) achieved what I wanted by making the files in ~/.config/gtk-4.0 link to Qogir instead of Qogir-light. When using the -l flag, the links are created to Qogir-light. The titlebars are dark everywhere now, and I like to 2-tone of light "main" areas and dark titlebars.

The only issue now is that the titebar font in newer GTK4 apps is a little too light and hard to read. I'm not sure if this is a bug though - it might be a limitation that the titlebar font color is the same regardless of whether it's on a dark background (legacy apps) or light background (GTK4/libadwaita) so one of them is always going to be a little unreadable.

If there's a bug at all, it is that the -l flag should use Qogir instead of Qogir-light and that Qogir produces hard-to-read titlebars in GKT4 apps.

Attached is a screenshot of the look when ~/.config/gtk-4.0 links to Qogir instead of Qogir-light.
Screenshot from 2024-05-29 10-29-47