Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bkanuka opened this issue May 27, 2024 · 2 comments

Comments

@bkanuka
Copy link

bkanuka commented May 27, 2024

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,

  • PyCharm has a light titlebar even though it's the one in focus. ❌
  • lxappearance has a light titlebar regardless of focus ❌
  • Slack has a light titlebar regardless of focus ❌
  • Chome is mostly dark ✔️
  • Recent GTK4 apps like the Settings are split and have light and dark (in a good way) ✔️
  • Terminal has a dark titlebar regardless of focus 🤷

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
Copy link
Author

bkanuka commented May 28, 2024

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 😉

@bkanuka
Copy link
Author

bkanuka commented May 29, 2024

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

@bkanuka bkanuka changed the title Inconsistent titlebar color Inconsistent titlebar color. Consider linking libadwaita to Qogir regular instead of light. Hard to read titlebar in GTK4 apps. May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant