pop-os / gtk-theme

System76 Pop GTK+ Theme
GNU General Public License v3.0
782 stars 81 forks source link

Ubuntu Software app has no background #492

Open ghost opened 3 years ago

ghost commented 3 years ago

Describe the problem: When using the Pop OS GTK Theme on ubuntu 20.04, the Ubuntu Software app is transparent.

2020-11-24_09-23

Steps to reproduce:

  1. Install the latest version of this gtk theme on ubuntu 20.04 (from github repo)
  2. Launch Ubuntu Software

Distribution: Ubuntu 20.04.1 LTS

Pop version: v 5.3.1 last commit: 4ae6ff308432b79a801bb29522aa19d1e7ee51ab

suyog-pipliwaal commented 3 years ago

I also have the same issues in the same environment. Also, I have a VM with ubuntu 20.10 and install the pop-os theme in it and I was unable to open setting and gnome tweak. Thanks in advance.

VentGrey commented 3 years ago

Please look at this issue :) it might be a gtk-theming problem with snap.

Muqtxdir commented 3 years ago

Hi @pevoz, @suyog-pipliwaal, @VentGrey,

Ubuntu-Software(Snap-store) is packaged as Snap-app in Ubuntu. Snap-apps only support themes which are present in gtk-common-themes snap (most popular GTK-Themes and icons-themes are present)

Pop-theme is not present in gtk-common-themes. Hence, the problem of Transparent background in Ubuntu-Software This can be solved by making a theme-snap package consisting of gtk-theme and icon-theme that connects with gtk-common-themes snap package

EDIT: I can put together a snap-package for pop-gtk-theme and pop-icon-theme, if it's ok with pop-gtk-theme maintainers

isantop commented 3 years ago

@Muqtxdir There's no problem on our end if someone wants to package the GTK theme for snap. It would not be an official package, however, and our resources to support a snap package are limited.

Muqtxdir commented 3 years ago

Hi @isantop,

thanks for the reply, I've put a snap-package consisting of pop-gtk-theme and pop-icon-theme on snapcraft.io and this is its github

snap-details:

snap-name: pop-themes snap-version: v5.3.1 (latest/stable)

screenshot:

As you can see Ubuntu-software is no longer transparent when pop-themes snap is used along with gtk-common-themes snap

ubuntu-software

installation:

# pop-themes
sudo snap install pop-themes

after-Installation

#For Pop GTK2 for GTK2-snaps (need to be done everytime you install a new GTK2-snap app)

for i in $(snap connections | grep gtk-common-themes:gtk-2-themes | awk '{print $2}'); do sudo snap connect $i pop-themes:gtk-2-themes; done
# For Pop GTK3 for GTK3-snaps (need to be done everytime you install a new GTK3-snap app)
for i in $(snap connections | grep gtk-common-themes:gtk-3-themes | awk '{print $2}'); do sudo snap connect $i pop-themes:gtk-3-themes; done
# For Pop icons for snaps (need to be done everytime you install a new snap app)
for i in $(snap connections | grep gtk-common-themes:icon-themes | awk '{print $2}'); do sudo snap connect $i pop-themes:icon-themes; done

thanks!