Jannomag / Yaru-Colors

A fork of Ubuntu's Yaru theme - in different colors
GNU General Public License v3.0
512 stars 42 forks source link

gtk-3.20 some app title bar not homogen #117

Open S0llarCode opened 3 years ago

S0llarCode commented 3 years ago

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.

Jannomag commented 3 years ago

Are those apps installed via Snap or Flatpak?

S0llarCode commented 3 years ago

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

koplo199 commented 3 years ago

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)

Jannomag commented 3 years ago

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

koplo199 commented 3 years ago

@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

Jannomag commented 3 years ago

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

koplo199 commented 3 years ago

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 !

Jannomag commented 3 years ago

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