elementary / appcenter

Pay-what-you-can app store for elementary OS
https://elementary.io
GNU General Public License v3.0
542 stars 102 forks source link

AppCenter does not load images/icons on first load #2209

Open Letterus opened 2 months ago

Letterus commented 2 months ago

What Happened?

When starting AppCenter the first time I quite often experience that images/icons are not loaded.

Images/icons then are shown after closing AppCenter and reopening it again.

Bildschirmfoto von 2024-09-02 12 44 25@2x

Steps to Reproduce

  1. Boot machine
  2. Log in
  3. Start AppCenter

Expected Behavior

Icons should appear on first load.

OS Version

8.x (Early Access)

Software Version

Latest release (I have run all updates)

Log Output

2024-09-02T12:44:00.955735+02:00 XinkPad280 io.elementary.a[2030]: gtk_native_get_surface: assertion 'GTK_IS_NATIVE (self)' failed
2024-09-02T12:44:00.971716+02:00 XinkPad280 io.elementary.a[2030]: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed
2024-09-02T12:44:00.971871+02:00 XinkPad280 io.elementary.a[2030]: gtk_box_append: assertion 'GTK_IS_WIDGET (child)' failed
2024-09-02T12:44:01.393288+02:00 XinkPad280 io.elementary.a[2030]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
2024-09-02T12:44:01.653834+02:00 XinkPad280 io.elementary.a[2030]: message repeated 4 times: [ gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed]
2024-09-02T12:44:02.738829+02:00 XinkPad280 io.elementary.a[2030]: Failed to load icon /home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.gijsgoudzwaard.image-optimizer.png: Fehler beim Öffnen der Datei »/home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.gijsgoudzwaard.image-optimizer.png«: No such file or directory
2024-09-02T12:44:02.739342+02:00 XinkPad280 io.elementary.a[2030]: Failed to load icon /home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.ryonakano.reco.png: Fehler beim Öffnen der Datei »/home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.ryonakano.reco.png«: No such file or directory
2024-09-02T12:44:02.739935+02:00 XinkPad280 io.elementary.a[2030]: Failed to load icon /home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.ryonakano.konbucase.png: Fehler beim Öffnen der Datei »/home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.ryonakano.konbucase.png«: No such file or directory
2024-09-02T12:44:02.740512+02:00 XinkPad280 io.elementary.a[2030]: Failed to load icon /home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/io.elementary.tasks.png: Fehler beim Öffnen der Datei »/home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/io.elementary.tasks.png«: No such file or directory
2024-09-02T12:44:02.741307+02:00 XinkPad280 io.elementary.a[2030]: Failed to load icon /home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/io.github.leolost2605.detective.png: Fehler beim Öffnen der Datei »/home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/io.github.leolost2605.detective.png«: No such file or directory
2024-09-02T12:44:02.742434+02:00 XinkPad280 io.elementary.a[2030]: Failed to load icon /home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.ryonakano.louper.png: Fehler beim Öffnen der Datei »/home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.ryonakano.louper.png«: No such file or directory
2024-09-02T12:44:02.742928+02:00 XinkPad280 io.elementary.a[2030]: Failed to load icon /home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/io.github.danirabbit.nimbus.png: Fehler beim Öffnen der Datei »/home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/io.github.danirabbit.nimbus.png«: No such file or directory
2024-09-02T12:44:02.743852+02:00 XinkPad280 io.elementary.a[2030]: Failed to load icon /home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.phase1geo.minder.png: Fehler beim Öffnen der Datei »/home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.phase1geo.minder.png«: No such file or directory
2024-09-02T12:44:02.744402+02:00 XinkPad280 io.elementary.a[2030]: Failed to load icon /home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/io.github.xchan14.larawan.png: Fehler beim Öffnen der Datei »/home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/io.github.xchan14.larawan.png«: No such file or directory
2024-09-02T12:44:02.744856+02:00 XinkPad280 io.elementary.a[2030]: Failed to load icon /home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.phase1geo.textshine.png: Fehler beim Öffnen der Datei »/home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.phase1geo.textshine.png«: No such file or directory
2024-09-02T12:44:02.745418+02:00 XinkPad280 io.elementary.a[2030]: Failed to load icon /home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.sdv43.whaler.png: Fehler beim Öffnen der Datei »/home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.sdv43.whaler.png«: No such file or directory
2024-09-02T12:44:02.745911+02:00 XinkPad280 io.elementary.a[2030]: Failed to load icon /home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.phase1geo.journaler.png: Fehler beim Öffnen der Datei »/home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.phase1geo.journaler.png«: No such file or directory
2024-09-02T12:44:02.746415+02:00 XinkPad280 io.elementary.a[2030]: Failed to load icon /home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.alexkdeveloper.dfc.png: Fehler beim Öffnen der Datei »/home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.alexkdeveloper.dfc.png«: No such file or directory
2024-09-02T12:44:02.746923+02:00 XinkPad280 io.elementary.a[2030]: Failed to load icon /home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.alexkdeveloper.raddiola.png: Fehler beim Öffnen der Datei »/home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.alexkdeveloper.raddiola.png«: No such file or directory
2024-09-02T12:44:02.747432+02:00 XinkPad280 io.elementary.a[2030]: Failed to load icon /home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.ztefn.haguichi.png: Fehler beim Öffnen der Datei »/home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/com.github.ztefn.haguichi.png«: No such file or directory
2024-09-02T12:44:02.747958+02:00 XinkPad280 io.elementary.a[2030]: Failed to load icon /home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/io.elementary.iconbrowser.png: Fehler beim Öffnen der Datei »/home/joey/.cache/io.elementary.appcenter/flatpak-metadata/user/icons/appcenter/128x128/io.elementary.iconbrowser.png«: No such file or directory
2024-09-02T12:44:04.577437+02:00 XinkPad280 io.elementary.appcenter[2030]: libostree pull from 'appcenter' for appstream2/x86_64 complete#012security: GPG: summary+commit #012security: SIGN: disabled http: TLS#012non-delta: meta: 4 content: 1#012transfer: secs: 2 size: 738,8 KB
2024-09-02T12:44:04.633097+02:00 XinkPad280 io.elementary.appcenter[2030]: user: Pulled appstream2/x86_64 from appcenter
2024-09-02T12:44:05.945731+02:00 XinkPad280 systemd[1565]: vte-spawn-5b95366b-cef7-4ed2-abdb-89c1d803b302.scope: Consumed 5min 526ms CPU time.
2024-09-02T12:44:08.653390+02:00 XinkPad280 io.elementary.appcenter[2030]: libostree pull from 'flathub' for appstream2/x86_64 complete#012security: GPG: summary+commit #012security: SIGN: disabled http: TLS#012non-delta: meta: 7 content: 9#012transfer: secs: 2 size: 7,7 MB
2024-09-02T12:44:08.791863+02:00 XinkPad280 io.elementary.appcenter[2030]: user: Pulled appstream2/x86_64 from flathub
2024-09-02T12:44:12.880173+02:00 XinkPad280 systemd[1565]: app-flatpak-org.gnome.World.Secrets-13576.scope: Consumed 13.516s CPU time.
2024-09-02T12:44:17.145105+02:00 XinkPad280 io.elementary.appcenter[2030]: libostree pull from 'appcenter' for appstream2/x86_64 complete#012security: GPG: summary+commit #012security: SIGN: disabled http: TLS#012non-delta: meta: 4 content: 1#012transfer: secs: 2 size: 738,8 KB
2024-09-02T12:44:17.150757+02:00 XinkPad280 io.elementary.appcenter[2030]: /var/tmp/flatpak-cache-OATST2/repo-jSlgCn: Pulled appstream2/x86_64 from appcenter
2024-09-02T12:44:17.151974+02:00 XinkPad280 dbus-daemon[917]: [system] Activating via systemd: service name='org.freedesktop.Flatpak.SystemHelper' unit='flatpak-system-helper.service' requested by ':1.103' (uid=1000 pid=2030 comm="/usr/bin/io.elementary.appcenter --silent" label="unconfined")
2024-09-02T12:44:17.163148+02:00 XinkPad280 systemd[1]: Starting flatpak-system-helper.service - flatpak system helper...
2024-09-02T12:44:17.199400+02:00 XinkPad280 dbus-daemon[917]: [system] Successfully activated service 'org.freedesktop.Flatpak.SystemHelper'
2024-09-02T12:44:17.199596+02:00 XinkPad280 systemd[1]: Started flatpak-system-helper.service - flatpak system helper.
2024-09-02T12:44:17.468836+02:00 XinkPad280 flatpak-system-helper[14247]: system: Pulled appstream2/x86_64 from /var/tmp/flatpak-cache-OATST2/repo-jSlgCn
2024-09-02T12:44:18.150843+02:00 XinkPad280 systemd[1565]: Started app-flatpak-io.elementary.screenshot-14274.scope.
2024-09-02T12:44:21.044844+02:00 XinkPad280 io.elementary.appcenter[2030]: libostree pull from 'flathub' for appstream2/x86_64 complete#012security: GPG: summary+commit #012security: SIGN: disabled http: TLS#012non-delta: meta: 7 content: 9#012transfer: secs: 2 size: 7,7 MB
2024-09-02T12:44:21.048355+02:00 XinkPad280 io.elementary.appcenter[2030]: /var/tmp/flatpak-cache-OATST2/repo-9sfxIH: Pulled appstream2/x86_64 from flathub
2024-09-02T12:44:21.587428+02:00 XinkPad280 flatpak-system-helper[14247]: system: Pulled appstream2/x86_64 from /var/tmp/flatpak-cache-OATST2/repo-9sfxIH
2024-09-02T12:44:25.505869+02:00 XinkPad280 gala[1768]: WindowManager.vala:916: No transient found
2024-09-02T12:44:30.279477+02:00 XinkPad280 PackageKit: daemon quit
2024-09-02T12:44:30.286537+02:00 XinkPad280 systemd[1]: packagekit.service: Deactivated successfully.
2024-09-02T12:44:34.476172+02:00 XinkPad280 systemd[1565]: app-flatpak-io.elementary.screenshot-14274.scope: Consumed 2.039s CPU time.
2024-09-02T12:44:37.628508+02:00 XinkPad280 zeitgeist-datah[2095]: zeitgeist-datahub.vala:210: Error during inserting events: GDBus.Error:org.gnome.zeitgeist.EngineError.InvalidArgument: Incomplete event: interpretation, manifestation and actor are required
2024-09-02T12:44:37.748371+02:00 XinkPad280 io.elementary.a[2030]: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed
2024-09-02T12:44:37.748786+02:00 XinkPad280 io.elementary.a[2030]: gtk_box_append: assertion 'GTK_IS_WIDGET (child)' failed
2024-09-02T12:44:37.848073+02:00 XinkPad280 io.elementary.a[2030]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
2024-09-02T12:44:38.034163+02:00 XinkPad280 io.elementary.a[2030]: message repeated 4 times: [ gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed]

Hardware Info

No response

Letterus commented 1 month ago

I'm not reading any link to this issue. But looks as if it's fixed now?

teamcons commented 2 weeks ago

It isn't. eOS 8 as well - It sometimes happens, not only on first load. Closing and reopening fixes it - Temporarily. The next time AppCenter is opened, may or may not load icons

It is interesting some apps may not have that issue, like Mail.

danirabbit commented 2 weeks ago

I think this started after https://github.com/elementary/appcenter/pull/2185. Might be worth reverting since slow is better than broken imo