Bug 492561 - Snap package Ubuntu : No icon and Open File button crash
Summary: Snap package Ubuntu : No icon and Open File button crash
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Snaps (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-02 20:22 UTC by Florian HENRY
Modified: 2025-01-05 09:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian HENRY 2024-09-02 20:22:32 UTC
On Ubuntu 22.04 (Gnome)
Snap Package 24.05.2 (classic or edge) :
Application icon is missing ("Gear" Icon in Application list).
1 - Open Kate
2 - Open Session
3- Click on Open File button (in top bar)
=> Crash

SysLog : 

systemd[4172]: Started snap.kate.kate-327f4d7b-23fe-4e52-99e1-4fb5b8fc6013.scope.
kate[99321]: Could not load a pixbuf from icon theme.#012This may indicate that pixbuf loaders or the mime database could not be found.
kate_kate.desktop[99321]: **
kate_kate.desktop[99321]: Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Format d’image non reconnu (gdk-pixbuf-error-quark, 3)
kate_kate.desktop[99321]: Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Format d’image non reconnu (gdk-pixbuf-error-quark, 3)
Comment 1 Florian HENRY 2024-11-22 15:17:08 UTC
Test new 24.08.1 no more crash on open file 
but still no icon in Yaru theme
Comment 2 Scarlett Moore 2025-01-03 14:17:33 UTC
Please see https://www.omgubuntu.co.uk/2020/06/change-snap-app-theme for icon issues
Comment 3 Florian HENRY 2025-01-03 14:37:02 UTC
I've found this link before, but when I set dark theme with stadard "Unbuntu" Gnome setting. The icon theme is Yaru-sage (checked from Gnome Tweak) and there is no snap for Yaru-sage icone theme, and in gtk-common-themes this icone for Kate is not embeded
Comment 4 Scarlett Moore 2025-01-03 14:43:11 UTC
We can't embed every icon theme available on the internet, that would make the snap much to big. Sorry