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

Strange highlights in dark GTK3 themes #4154

Open
01micko opened this issue Nov 9, 2024 · 0 comments
Open

Strange highlights in dark GTK3 themes #4154

01micko opened this issue Nov 9, 2024 · 0 comments

Comments

@01micko
Copy link

01micko commented Nov 9, 2024

Expected Behavior

Open thunar file manager with a Yaru dark theme (any one) and get a clean background in the in the main scrolled window and a second unfocused window.

Actual Behavior

Focused window is ok but strange highlights appear around the text in the main scrolled window of the unfocused window. It happens whenever a thunar window hasn't got focus, ie I can have four thunar windows open and a browser and if the browser has focus all 4 thunar windows show the issue.

Steps to Reproduce the Problem

Apparently this is a wayland issue so you must be running labwc or sway wlroots compositors.

  1. Open Thunar
  2. From the menu bar click "View"
  3. Check "Show File Highlight"
  4. You see the darkened highlights under each icon in unfocused thunar

Software that presents the issue

  • Name: Thunar
  • Version: 4.18.11
  • OS version: Debian GNU/Linux trixie/sid - running labwc wayland compositor. Also occurs in sway.

Yaru version

24.10.4-0ubuntu1-1-gcd727585c

Screenshots
bad

Upstream check

The bug also appears upstream - although a little more faint.

adwaita-bad


I tried to fix it but the best I came up with was a css workaround in $HOME/.config/gtk-3.0/gtk.css

.thunar .view:selected { background-color: @theme_selected_bg_color; }
.thunar .view { background-color: alpha(@theme_bg_color, 0.8); }

I used GTK Inspector to come up with this by trial and error. It isn't a fix but does a decent job of working around the issue. It becomes barely noticeable.

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