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

Does not define @text_view_bg named colour #598

Open
leandrocunha526 opened this issue Sep 2, 2021 · 0 comments
Open

Does not define @text_view_bg named colour #598

leandrocunha526 opened this issue Sep 2, 2021 · 0 comments

Comments

@leandrocunha526
Copy link

Reporter Info

  • Materia version: 20200320 and 20200916
  • GTK3 version: 3.24.30
  • Distribution (and version): Debian bullseye and bookworm/sid
  • Desktop environment (and version): Gnome 3.38
  • Related application (and version):

Actual Issue

If have fixed the problem not mentioned in changelogs reviewed by me, please inform me so that the bug is closed in Debian. Thanks.

GTK 3.24.22 introduced a new named colour, @text_view_bg, which the vte
terminal library has started to rely on, causing misrendering in themes
that do not define it (see
https://gitlab.gnome.org/GNOME/vte/-/issues/284). Other text-heavy
applications might also start to rely on that named colour in future,
particularly if they have a dark mode.

I've committed a workaround upstream in the 0.62.x branch, which will be
in Debian soon; but vte upstream asked me not to commit that change to
master, so the workaround will be going away in the next release cycle.
Please add @text_view_bg to this theme so it will not cause misrendering
in future.

The new colour is intended to be used as a background for text
views, contrasting well with @theme_text_color. For example, gnome-terminal
and other vte applications draw text in @theme_text_color on a background
of @text_view_bg.

The reference implementation is that in the light variant of GTK's default
Adwaita theme, @text_view_bg is the same white as @theme_base_color and
@content_view_bg, but in the dark variant of Adwaita, it's a darker grey
than @theme_base_color and @content_view_bg, to give white text better
contrast.

If this theme does not need to distinguish between text views and other
application content areas, defining @text_view_bg to be the same as
@theme_base_color or @content_view_bg would be appropriate.

Thanks,
smcv (Simon McVittie [email protected])

All details are in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970986

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