lassekongo83/adw-gtk3

File chooser sidebar bg color

MOIS3Y opened this issue · 2 comments

Prerequisites

Checklist to make sure the issue is not on your end

  • I have made sure that I do not have multiple versions of the theme installed. Only one version should be installed in either ~/.local/share/themes or /usr/share/themes or ~/.themes
  • The file ~/.config/gtk-3.0/gtk.css does not exist. (If it does, backup and remove it.)
  • I have logged out and in again.
  • Dark theme only. I have enabled adw-gtk3-dark in gnome-tweaks AND set the appearance to dark in gnome-control-center
  • The flatpak theme is installed org.gtk.Gtk3theme.adw-gtk3 and org.gtk.Gtk3theme.adw-gtk3-dark
  • The app I'm having an issue with is an actual GTK3 app and is not coded using another toolkit like GTK2, GTK4, QT, etc.
  • I have created a new user profile without any modifications except adw-gtk3.

Description

It seems to me that adw-gtk3 does not set the background color in the File chooser sidebar.
I checked in different applications, mostly it was transmission-gtk 3.00, but even in awf-gtk3 it is just as noticeable.
I tried installing adw-gtk3 from nixpkgs and adw-gtk3 releases. But this does not affect the problem.
Also, the result is not affected by gtk-application-prefer-dark-theme=true

This is not very noticeable if you use adw-gtk3 without customizing colors.
But if you try color tweaks, it doesn’t matter whether it’s gradience or adw-colors, you will see that the icon color fg but not bg will change.

This is the standard adw-gtk3:
2023-11-27_14-47

This is the standard adw-gtk3-dark:
2023-11-27_14-03

Let's try the tweak using the example of solarizrd dark from adw-colors or nord for dark mode.
2023-11-27_14-53
2023-11-27_15-00

At first I thought that the problem was due to the OS and the fact that I was just using the awesomewm window manager
Therefore, I installed VoidLinux with Gnome 44 on a virtual machine because I had previously used this OS with adw-gtk3 and I don’t remember this problem being there.
But to my surprise I found her there
2023-11-23_19-52
2023-11-23_19-48

I can’t guarantee that I did everything correctly, but it seems that I went through all the options including those recommended before creating the issue.
In other themes, for example Colloid, there is no such problem, although looking at _common-3.0.scss I see that they differ in the FIle chooser section

OS and version [e.g Fedora 37]

NixOS 23.11 (Tapir), VoidLinux

Adw-gtk3 version. Also specify your installation source. [e.g tar.xz, AUR, git main branch]

5.1

GNOME version

44.0

Application name and version (If the issue is with an app.)

Transmission 3.00

The filechooser sidebar should be styled with sidebar_bg_color. So: @define-color sidebar_bg_color pink if you edit your gtk.css files. You'll need a nightly version of Gradience to use it.

Yes it works like a charm!
I just added it to ~/.config/gtk-3.0/gtk.css

@define-color sidebar_bg_color rgb(30, 30, 46);

2023-11-27_20-05

Thanks for the quick response.

For some ridiculous reason I missed this in HOWTO

Thanks again, adw-gtk3 is the best way to make system-wide unified application design.
Please don't stop!

I think the issue can be closed since the problem is completely resolved.