No icons in file picker

Bug #1881923 reported by AllesMeins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I installed chromium via snap on Ubuntu 20.04. When the file picker is opend (for example to upload some files) all icons are missing. Files and folders have no icon (see attached screenshot).

Ubuntu 20.04 LTS
Chromium Version 83.0.4103.61 (Official Build) snap (64-bit)

Maybe it is a problem with the apparmor-profile?

[27780.715573] audit: type=1400 audit(1591194917.741:3258): apparmor="DENIED" operation="open" profile="snap.chromium.chromium" name="/etc/fstab" pid=5553 comm="chrome" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[27780.737385] audit: type=1400 audit(1591194917.761:3259): apparmor="DENIED" operation="open" profile="snap.chromium.chromium" name="/run/mount/utab" pid=5553 comm="chrome" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[27781.003139] audit: type=1400 audit(1591194918.029:3260): apparmor="DENIED" operation="open" profile="snap.chromium.chromium" name="/run/mount/utab" pid=5553 comm="chrome" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[27781.012869] audit: type=1107 audit(1591194918.037:3261): pid=1073 uid=100 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/hostname1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.285" pid=5553 label="snap.chromium.chromium" peer_pid=156208 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=100 hostname=? addr=? terminal=?'
[27784.173782] audit: type=1400 audit(1591194921.197:3262): apparmor="DENIED" operation="open" profile="snap.chromium.chromium" name="/run/mount/utab" pid=5553 comm="chrome" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

Revision history for this message
AllesMeins (spam-startrekarchiv) wrote :
Revision history for this message
Olivier Tilloy (osomon) wrote :

What's your GTK applications theme?

Changed in chromium-browser (Ubuntu):
status: New → Incomplete
Revision history for this message
AllesMeins (spam-startrekarchiv) wrote :

How do I find this out? I didn't change anything design related in Ubuntu or chromium - so it should be the standard that comes with a fresh installation of 20.04. But if you tell me how I'll make sure and check it...

Revision history for this message
Olivier Tilloy (osomon) wrote :

Can you share the output of the following command?

    gsettings list-recursively org.gnome.desktop.interface | grep theme

Revision history for this message
AllesMeins (spam-startrekarchiv) wrote :

$ gsettings list-recursively org.gnome.desktop.interface | grep theme
org.gnome.desktop.interface icon-theme 'Yaru'
org.gnome.desktop.interface gtk-theme 'Yaru'
org.gnome.desktop.interface gtk-key-theme 'Default'
org.gnome.desktop.interface cursor-theme 'Yaru'

Revision history for this message
Olivier Tilloy (osomon) wrote :

Thanks, that looks like default settings indeed.
Can you share the output of the following two commands, please?

    snap list

    snap connections chromium

Revision history for this message
AllesMeins (spam-startrekarchiv) wrote :
Download full text (4.4 KiB)

$ snap list
Name Version Rev Tracking Publisher Notes
android-studio 4.0.0.16 90 latest/stable snapcrafters classic
chromium 83.0.4103.97 1182 latest/stable canonical✓ -
core 16-2.45 9289 latest/stable canonical✓ core
core18 20200427 1754 latest/stable canonical✓ base
gimp 2.10.18 273 latest/stable snapcrafters -
gnome-3-28-1804 3.28.0-17-gde3d74c.de3d74c 128 latest/stable canonical✓ -
gnome-3-34-1804 0+git.3009fc7 36 latest/stable/… canonical✓ -
gtk-common-themes 0.1-36-gc75f853 1506 latest/stable/… canonical✓ -
gtk2-common-themes 0.1 9 latest/stable canonical✓ -
inkscape 1.0-6e3e5246a0-2020-05-07 7627 latest/stable inkscape✓ -
kde-frameworks-5-core18 5.61.0 32 latest/stable kde✓ -
kde-frameworks-5-qt-5-14-core18 5.68.0 4 latest/stable kde✓ -
keepassxc 2.5.4 784 latest/stable keepassxreboot -
kompare 20.04.0 59 latest/stable kde✓ -
snap-store 3.36.0-80-g208fd61 454 latest/stable/… canonical✓ -

$ snap connections chromium
Interface Plug Slot Notes
audio-playback chromium:audio-playback :audio-playback -
audio-record chromium:audio-record :audio-record -
browser-support chromium:browser-sandbox :browser-support -
camera chromium:camera :camera -
content[gtk-3-themes] chromium:gtk-3-themes gtk-common-themes:gtk-3-themes -
content[icon-themes] chromium:icon-themes gtk-common-themes:icon-themes -
content[sound-themes] chromium:sound-themes gtk-common-themes:sound-themes -
cups-control chromium:cups-control :cups-control -
desktop chromium:desktop :desktop -
gsettings chromium:gsettings :gsettings -
home chromium:home :home -
joystick chromium:joystick :joystick -
mount-observe chromium:mount-observe - -
mpris - chromium:mpris -
network chromium:network :network ...

Read more...

Revision history for this message
Olivier Tilloy (osomon) wrote :

Thank you. This all looks fine.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Can you run the following command in a terminal, after closing chromium:

    rm -rf ~/snap/chromium/common/.cache

Then run chromium again, and let us know whether the problem persist. Thanks!

Revision history for this message
AllesMeins (spam-startrekarchiv) wrote :

Thanks, this has solved it!

Revision history for this message
Olivier Tilloy (osomon) wrote :

Glad it did!
Since we didn't get to the bottom of the issue (i.e. we don't know why the cache got corrupted in the first place), I'll leave this bug report open. Please comment here if the problem happens again.

Revision history for this message
AllesMeins (spam-startrekarchiv) wrote :

It just happened again... Yesterday my chromium was fine, today all icons in file-picker are gone again... I didn't change anything on my system or in chromium since then (besides the regular updates). So i there is anything I can do to help you locate the issue.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Can you please share the output of the following command?

    snap changes --abs-time chromium

Revision history for this message
AllesMeins (spam-startrekarchiv) wrote :

$ snap changes --abs-time chromium
error: no changes found

Revision history for this message
Olivier Tilloy (osomon) wrote :

Unfortunately that command shows only very recent changes, and there doesn't appear to be a switch to make it show older changes.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for chromium-browser (Ubuntu) because there has been no activity for 60 days.]

Changed in chromium-browser (Ubuntu):
status: Incomplete → Expired
Revision history for this message
AllesMeins (spam-startrekarchiv) wrote :

It just happend again (sometime in the last 12 hours). So if you want to do any tests now is your chance :-)
Unfortunatly $ snap changes --abs-time chromium still displays "no changes found".

Changed in chromium-browser (Ubuntu):
status: Expired → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you add the 'journalctl -b 0' log after triggering the issue?

Revision history for this message
AllesMeins (spam-startrekarchiv) wrote :

Unfortunately I can't - this time the issue didn't persist. When I restarted my system this morning everything is back to normal and all the icons are back. I'm sorry - I wish I could be of more help. I will monitor it and get back to you, if the issue occures once again.

Revision history for this message
Olivier Tilloy (osomon) wrote :

It sounds like this might be yet another fallout from the snap being automatically refreshed while running. I suggest enabling the experimental "refresh app awareness" feature in snapd, see details in https://forum.snapcraft.io/t/wip-refresh-app-awareness/10736.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for chromium-browser (Ubuntu) because there has been no activity for 60 days.]

Changed in chromium-browser (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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