Yaru-Colors icon indicating copy to clipboard operation
Yaru-Colors copied to clipboard

gtk-3.20 some app title bar not homogen

Open S0llarCode opened this issue 3 years ago • 8 comments

ManjaroLinux 21.1.2 Gnome 40.4.0 yaru-colors-gtk-theme 21.04 Updated system, but the problem was already present before.

before

The main applications are not affected (firefox, Settings, Files, Tweaks,..).

It is the applications like Telegram, vlc, qbittorrent,... that do not have the same title bar color.

When I change the theme's gtk-3.20 file (yaru-orange to yaru 21.10), it affects the title bars of non-homogeneous applications, but the changes to be made in file are unknown to me.

S0llarCode avatar Sep 16 '21 10:09 S0llarCode

Are those apps installed via Snap or Flatpak?

Jannomag avatar Sep 16 '21 16:09 Jannomag

Neither of them. Apps installed via Pamac, the manjaro's package manager.

S0llarCode avatar Sep 16 '21 16:09 S0llarCode

Hi, I got a rather similar issue on the Arduino IDE software. I'm on Ubuntu 21.04, and the inconsistency looks specific to the Yaru-Colors fork, here is how it looks with the official theme Yaru-dark :

Screenshot from 2021-09-30 21-12-23

And how it looks with Yaru-colors (here Yaru-Purple-Dark) :

Screenshot from 2021-09-30 21-13-05

(Arduino IDE downloaded from the website)

koplo199 avatar Sep 30 '21 19:09 koplo199

I noticed the same with Arduino IDE on my laptop and this worked for me: https://github.com/horst3180/arc-theme/issues/306#issuecomment-162437856

Jannomag avatar Sep 30 '21 19:09 Jannomag

~~@Jannomag Thanks for the hint, unfortunately that did not work for me, did you also installed Arduino IDE from the website ? I'm wondering what could be the difference between our systems, I also installed gtk2-engines-murrine as mentioned in the thread you linked but that also did work with it. Do you have any other idea where it could come from ?~~

EDIT : Thank you very much, it worked ! In addition to installing the missing gtk modules, it looks like Yaru-Colors needs to be installed in /usr/share/themes and not in ~/.local/share/themes to work with Arduino IDE :)

There is some warnings/errors when launching it but the theme is applied correctly :

/usr/share/themes/Yaru-Purple-dark/gtk-2.0/main.rc:1140: Unable to locate image file in pixmap_path: "assets/scale-slider.png"
/usr/share/themes/Yaru-Purple-dark/gtk-2.0/main.rc:1141: Background image options specified without filename
/usr/share/themes/Yaru-Purple-dark/gtk-2.0/main.rc:1167: Unable to locate image file in pixmap_path: "assets/scale-slider.png"
/usr/share/themes/Yaru-Purple-dark/gtk-2.0/main.rc:1168: Background image options specified without filename

Screenshot from 2021-09-30 23-47-29

koplo199 avatar Sep 30 '21 20:09 koplo199

Did you install a complete color including dark and gtk2?

Try to move the themes either to ~/.local/share/themes or /usr/share/ themes and try again, please

Jannomag avatar Oct 01 '21 04:10 Jannomag

Yes it's solved thank you (I edited my comment in the meantime), your intuition was right moving the theme to /usr/share/themes did the trick !

koplo199 avatar Oct 01 '21 09:10 koplo199

Great! It’s an issue with Java and it’s the same with every third party gtk theme installed to /home/.

Jannomag avatar Oct 01 '21 10:10 Jannomag