Bug 375108

Summary: AppImage has no application icon showing in Ubuntu
Product: [Applications] digikam Reporter: Dan Dascalescu <ddascalescu+kde>
Component: Portability-InterroperabilityAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aegoreev, caulier.gilles, dmpop
Priority: NOR    
Version: 5.4.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In: 5.5.0
Sentry Crash Report:
Attachments: No appimage icon
Krita does have an icon
It still doesn't show up in the dash when searching for "digiK..."

Description Dan Dascalescu 2017-01-15 20:00:07 UTC
Created attachment 103431 [details]
No appimage icon

I've downloaded and executed the http://download.kde.org/stable/digikam/digikam-5.4.0-01-x86-64.appimage file on Ubuntu 16.04.1. In the taskbar, the application doesn't have an icon, and Ubuntu substitutes a generic question mark one.
Comment 1 caulier.gilles 2017-01-16 19:00:38 UTC
Even if rules to plug application icon to desktop is done through AppImage API.

Work fine under KDE and Gnome. Of course, as usual, Ubuntu sound different (and this is why i hate this distro).

Which desktop do you use under Ubuntu ? Unity ?

Can you download Krita AppImage to see if problem is reproducible ?

https://krita.org/en/download/krita-desktop/

Gilles Caulier
Comment 2 Dan Dascalescu 2017-01-16 23:15:49 UTC
Created attachment 103450 [details]
Krita does have an icon

Hi Gilles,

I use the regular Ubuntu with Unity. I don't like the distro much either, but it's quite popular, and thought a large user base could appreciate seeing an icon for digiKam.
Comment 3 Andrius 2017-01-17 02:00:12 UTC
Bug confirmed on Fedora Design Studio 25 and Ubuntu Studio 16.04.1. I just downloaded an appimage of OoenShot and the icon is all good there
Comment 4 caulier.gilles 2017-01-18 09:13:20 UTC
Git commit c92689a20bfbcb3b77900b3c2164aa709718442e by Gilles Caulier.
Committed on 18/01/2017 at 09:07.
Pushed by cgilles into branch 'master'.

copy desktop file and icon at right place in AppImage

M  +3    -8    project/bundles/appimage/04-build-appimage.sh

https://commits.kde.org/digikam-software-compilation/c92689a20bfbcb3b77900b3c2164aa709718442e
Comment 5 Dmitri Popov 2017-01-18 21:08:14 UTC
No icon on openSUSE Tumbleweed either.
Comment 6 caulier.gilles 2017-01-19 11:30:58 UTC
Git commit 21d6c26789a0289a59114e0b0368ccac535e29e9 by Gilles Caulier.
Committed on 19/01/2017 at 11:22.
Pushed by cgilles into branch 'master'.

Force to use application icon for non plasma desktop as Unity for ex.

M  +3    -0    app/main/main.cpp
M  +3    -0    showfoto/main/main.cpp

https://commits.kde.org/digikam/21d6c26789a0289a59114e0b0368ccac535e29e9
Comment 7 caulier.gilles 2017-01-19 21:48:06 UTC
Git commit 67309046db2c3a1795a2c2d583de4f06df285ee9 by Gilles Caulier.
Committed on 19/01/2017 at 21:46.
Pushed by cgilles into branch 'master'.

add Showfoto icon + desktop for AppImage
FIXED-IN: 5.5.0

M  +4    -2    project/bundles/appimage/04-build-appimage.sh

https://commits.kde.org/digikam-software-compilation/67309046db2c3a1795a2c2d583de4f06df285ee9
Comment 8 caulier.gilles 2017-01-19 21:55:46 UTC
The AppImage 5.5.0 pre version 64 bits have been updated. Please confirm that problem is fixed.

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier
Comment 9 Dan Dascalescu 2017-01-19 22:31:39 UTC
$ ./digikam-5.5.0-01-x86-64.appimage
/tmp/.mount_wZIqXa/AppRun: line 68: digikam.wrapper: command not found
Comment 10 caulier.gilles 2017-01-20 07:20:13 UTC
AppImage 64 bits is rebuild. Please try again.

Gilles Caulier
Comment 11 Dan Dascalescu 2017-01-20 16:50:13 UTC
Created attachment 103563 [details]
It still doesn't show up in the dash when searching for "digiK..."

The icon now shows up in the taskbar, thank you.