AppImageLauncher icon indicating copy to clipboard operation
AppImageLauncher copied to clipboard

App icon is missing if the icon name contains non-ascii characters

Open omergoktas opened this issue 1 year ago • 3 comments

Pre-submit checks

  • [X] I checked for similar issues beforehand, but could not find any, not even closed ones. I could not add my bug report to any existing issue.
  • [X] I am going to take the time to to fill in all the required details. I know that the bug report will be dismissed otherwise.

Describe the bug

Pretty self explanatory title. My app, for instance, has an icon with the file name "ÖmerGöktaş.png". Here is the result:

Ekran Görüntüsü - 2024-06-28 22-50-28

The desktop entry created in the ~/.local/share/applications contains malformed Icon entry, here:

[Desktop Entry]
Type=Application
Name=ÖmerGöktaş (1.0.0)
Exec=/home/omergoktas/Genel/apps/ÖmerGöktaş-1.0.0-x86_64_1ce20bbfd271b517ff16f70fb8b7ab21.AppImage
Icon=appimagekit_e8d40e8f0dc7e231bd89570a4332d564___merG__kta__
Comment=Project template for Qt-based cross-platform apps.
Categories=Utility;
X-AppImage-Version=1.0.0
...

Expected behavior

I expect an app icon in the menu.

Steps to reproduce the issue

No response

Screenshots

No response

Distribution and desktop environment

Fedora Workstation 40 with Cinnamon Desktop Environment

Installed AppImageLauncher version

appimagelauncher-2.2.0-travis995.0f91801.x86_64.rpm

List of AppImages you tried

No response

Additional context

P.S. I use my own homegrown Qt-based appimage creation tool to create appimages (due to certain Qt specific stuff lacking in yours), and did not create my appimage with your app image creation tool (your creation tool could be mitigating this issue in the creation phase, so I thought it might be relevant to know). I believe this is still a relevant bug for the AppImageLauncher side to fix.

omergoktas avatar Jun 28 '24 20:06 omergoktas

I have the same issue but with a normal Name: grafik balenaEtcher https://github.com/balena-io/etcher/releases/download/v1.19.25/balenaEtcher-1.19.25-x64.AppImage But in download folder it shows up: grafik So the integration not picking up the icon?

lublak avatar Nov 29 '24 09:11 lublak

I have the same issue but with a normal Name: grafik balenaEtcher https://github.com/balena-io/etcher/releases/download/v1.19.25/balenaEtcher-1.19.25-x64.AppImage But in download folder it shows up: grafik So the integration not picking up the icon?

This could be due to your icon theme that you have installed on your system trying to replace app's original/embedded icon with something theme-specific. Try to install another icon theme and see if gets fixed. Also, typing 'r' or 'restart' in the Alt+F2 prompt will restart GNOME Shell and refresh icon cache. Make sure you do that too. I am not definitively saying that this is the issue, but it could very well be since the icon in the download folder is ok; because once you install an app, GNOME shell tries to pick the icon from the icon theme first if it's available.

omergoktas avatar Nov 29 '24 10:11 omergoktas

@omergoktas thanks for your tip. I will look into it :) (i use kde btw.)

lublak avatar Nov 29 '24 19:11 lublak