ImHex icon indicating copy to clipboard operation
ImHex copied to clipboard

[Bug] No icon ( Linux | Flatpak )

Open Kyr4l opened this issue 10 months ago • 5 comments

Operating System

Linux

What's the issue you encountered?

the app has no icon

Image

How can the issue be reproduced?

install imhex as flatpak search for the imhex app entry no icon is available

ImHex Version

1.36.2

ImHex Build Type

  • [ ] Nightly or built from sources

Installation type

flatpak

Additional context?

No response

Kyr4l avatar Feb 13 '25 14:02 Kyr4l

I followed your reproduction steps but the app icon appeared fine for me.

ghost avatar Feb 17 '25 09:02 ghost

I followed your reproduction steps but the app icon appeared fine for me.

that's weird i've reinstalled imhex, cleared my icon cache, ran flatpak repair, and nothing changed

i've checked in /var/lib/flatpak/exports/share/icons/hicolor/scalable/apps/net.werwolv.ImHex.svg and the file seems empty, nothing dispays even while viewing the icon directly

Image

yad icon browser shows it however, maybe that's a scaling issue ?

Image

Kyr4l avatar Feb 17 '25 12:02 Kyr4l

If the file exists and looks fine, then I assume it's something with how your gui renders it, although hard for me to tell what exactly

ghost avatar Feb 17 '25 20:02 ghost

I have the same issue, but only with the flatpak version. the aur version shows the icon. When looking around my system a bit for the icons source, I found a few different icons, where number one renders correctly in the preview and gwenview (my image app) and the second one doesn't show up at all in there.

Interestingly when opened in Inkscape both render, but the second one is behaving really weird. When looking at them both in a text editor, the first one uses basic rect and path tags with fixed colors, while the second one uses a bunch of stuff like gradients, masks, gaussian blur, etc.

file 1: /usr/share/pixmaps/imhex.svg file 2: /var/lib/flatpak/exports/share/icons/hicolor/scalable/apps/net.werwolv.ImHex.svg

OMGeeky avatar Feb 25 '25 00:02 OMGeeky

I replaced the old icon with the new one in the flatpaks, just waiting for flathub to build a new version. Hopefully it properly works then for all of you

WerWolv avatar Feb 25 '25 11:02 WerWolv