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

Ubuntu 20.04 Software Centre background disappears under Yaru #20

Closed aedanyves closed 4 years ago

aedanyves commented 4 years ago

As stated in the title, the background is not drawn and is transparent for the Ubuntu Software centre window. This issue occurs with all of the Yaru color schemes with the exception of "Yaru Dark" which I believe comes with stock Ubuntu 20.04. I have not noticed this problem with any other applications.

Jannomag commented 4 years ago

Sorry for the late reply. I've updated the whole theme with Yaru's 20.04 source. I didn't notice this issue on 20.04, yet, but I'll check it again.

Jannomag commented 4 years ago

I've found out the issue: It's happening when the themes are installed under /usr/share/themes. To fix this, install the themes to /home or set Yaru as snap theme manually using GTK+ inspector. Since it's snap related, it's not a bug of my theme directly. It's an open issue with snap, that you can't use own gtk themes.

Issue closed.

Muqtxdir commented 4 years ago

Hi @aedanyves,

Ubuntu-Software(Snap-store) is packaged as Snap-app in Ubuntu 20.04 LTS Snap-apps only support themes which are in gtk-common-themes snap.

Yaru-Colors is not for Snaps. Hence, the problem of Transparent background in Ubuntu-Software

The safe solution for this issue seems to involve reverting of theme to default Yaru-theme(only for Ubuntu-software) using GTK+inspector-tool

Solution:

Note: This themeing-workaround can be applied to any GTK-based Snap apps.Sadly I don't know how to preserve this change after every reboot(I guess it should be done every time).

Hope this workaround improves your situation