Snap 'ed applicaitons have garbage on top of the window Close [x] button

Bug #1861558 reported by Norbert
62
This bug affects 13 people
Affects Status Importance Assigned to Milestone
adwaita-icon-theme (Ubuntu)
Confirmed
Undecided
Unassigned
gnome-themes-extra (Ubuntu)
Confirmed
Undecided
Unassigned
humanity-icon-theme (Ubuntu)
Confirmed
Undecided
Unassigned
snapd (Ubuntu)
Confirmed
Undecided
Unassigned
ubuntu-mono (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Steps to reproduce:
1. Have Ubuntu 19.10 installed
2. Install GNOME application as a Snap - for example with

    sudo snap install gedit gnome-calculator

3. Open GNOME Tweaks -> Appearance tab, then switch Icon set to the one of the following:

* Adwaita
* DMZ-Black
* DMZ-White
* hicolor
* HighContrast
* Humanity
* Humanity-Dark
* LoginIcons

For example - Adwaita theme with Adwaita icon set.

4. Open GNOME Calculator as a Snap application:

   /snap/bin/gnome-calculator

Expected result:

* GNOME Calculator looks as any other GTK application

Actual result:

* GNOME Calculator has garbage on top of the window Close [x] button

---

Notes:
1. Problem was first seen on AskUbuntu - https://askubuntu.com/q/1206868
2. one can use the script below to check all possible Theme<->Icon combinations:

```
#!/bin/bash

DISPLAY=:0

for t in $(ls -1 /usr/share/themes/)
do
 for i in $(ls -1 /usr/share/icons/)
 do

  echo -e "\nTheme: $t, Icons: $i\n"

  gsettings set org.gnome.desktop.interface gtk-theme "$t"
  gsettings set org.gnome.desktop.interface icon-theme "$i"

  /snap/bin/gnome-calculator

  #read -r -s -p "Press <Enter> for next theme"
 done
done

```

ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: snapd 2.41+19.10.1
ProcVersionSignature: Ubuntu 5.3.0-29.31-generic 5.3.13
Uname: Linux 5.3.0-29-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Feb 1 17:55:09 2020
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Norbert (nrbrtx) wrote :
Revision history for this message
Maciej Borzecki (maciek-borzecki) wrote :

I've seen this happen occasionally with snaps on Arch too.

Revision history for this message
Maciej Borzecki (maciek-borzecki) wrote :

Nonetheless it isn't clear whether it's a snapd problem or the actual libraries. Switching to confirmed in snapd, but needs investigation from desktop team too.

Changed in snapd (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in adwaita-icon-theme (Ubuntu):
status: New → Confirmed
Changed in gnome-themes-extra (Ubuntu):
status: New → Confirmed
Changed in humanity-icon-theme (Ubuntu):
status: New → Confirmed
Changed in ubuntu-mono (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Weimann (m982) wrote :

Present on current 20.04 dev release with vanilla GNOME.

While this bug doesn't affect any functionality is shows me every day a broken UI. That reduces the fun using Ubuntu / snaps.

Revision history for this message
Francois Thirioux (fthx) wrote :

Still happens, Focal.

Revision history for this message
Francois Thirioux (fthx) wrote :

Seems to be Wayland related, from other sources.
(I did not test it in X, though.)

Revision history for this message
Oliver Grawert (ogra) wrote :
Revision history for this message
Martin Hamel (martin-komunide) wrote :

@Francois Thirioux, I have the problem under X11.

Revision history for this message
Sebastien Bacher (seb128) wrote :

@Martin, could you add a screenshot from the issue under xorg as well as a 'journalctl -b 0' log from the session?

Revision history for this message
Alexander Browne (elcste) wrote :

This doesn't just occur with GNOME. I am seeing it on Plasma desktop (X11), running on Kubuntu impish, with the GTK theme set to Yaru and the icon theme set to the Breeze theme (the Kubuntu/Plasma default).

Norbert (nrbrtx)
tags: added: focal
removed: eoan
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.