Bug 485447

Summary: Snap install does not have an application icon
Product: [Applications] krita Reporter: jose.mico
Component: * UnknownAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: minor CC: med.medin.2014, tamtamy.tymona
Priority: NOR    
Version First Reported In: 5.2.2   
Target Milestone: ---   
Platform: Snap   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Krita icon of snap install on Ubuntu 24.04

Description jose.mico 2024-04-12 17:35:00 UTC
Created attachment 168425 [details]
Krita icon of snap install on Ubuntu 24.04

SUMMARY

Snap install does not have an application icon, a default one is shown instead.

SOFTWARE/OS VERSIONS

Krita 5.2.2 snap version 104  (latest/stable)
Ubuntu 24.04

ADDITIONAL INFORMATION

Icon is not shown because it is not specified:

$ grep Icon /snap/krita/current/meta/gui/krita.desktop
Icon=krita
$ grep Icon /var/lib/snapd/desktop/applications/krita_krita.desktop 
Icon=krita

Compare that with the Firefox snap icon definition:

$ grep Icon /snap/firefox/current/meta/gui/firefox.desktop 
Icon=${SNAP}/default256.png
$ grep Icon /var/lib/snapd/desktop/applications/firefox_firefox.desktop 
Icon=/snap/firefox/4090/default256.png

I guess that inside meta/gui/krita.desktop the icon should be specified as:

Icon=${SNAP}/usr/share/icons/hicolor/256x256/apps/krita.png
Comment 1 Tiar 2024-04-12 20:56:48 UTC
Hi, we don't build Krita's snap package, please make a report to the maintainers of the snap package.
Comment 2 Paul Worrall 2024-09-18 17:41:16 UTC
*** Bug 493317 has been marked as a duplicate of this bug. ***