ryonakano/pinit

Pin It does not display the icons

Soljanka opened this issue · 3 comments

OS: elementary OS 6.1 Jólnir x86_64
Pin It from flathub: com.github.ryonakano.pinit, version 1.4.1

I have the issue, that the icon in Pin It is not displayed

Bildschirmfoto von 2022-05-09 13 22 08

The icon is displayed in the menu tho

Bildschirmfoto von 2022-05-09 13 24 26

journalctl logs the following:

com.github.ryon[2662]: Failed to load module "canberra-gtk-module"
com.github.ryon[2662]: FilesView.vala:54: Datei »/home/florian/.var/app/com.valvesoftware.Steam/data/icons/hicolor/256x256/apps/steam_icon_239030.png« konnte nicht geöffnet werden: No such file or directory
com.github.ryon[2662]: FilesView.vala:54: Datei »/home/florian/.wine/drive_c/Program Files (x86)/Sub Culture/ICON/5.png« konnte nicht geöffnet werden: No such file or directory
com.github.ryon[2662]: FilesView.vala:54: Datei »/home/florian/.var/app/com.valvesoftware.Steam/data/icons/hicolor/96x96/apps/steam_icon_212680.png« konnte nicht geöffnet werden: No such file or directory

Which is odd - this is definitely the correct path for all three icons.

the canberra-error is also strange; there are a dozen of canberra-libs already installed


florian@X302UA178cf8b1:~$ apt list | grep canberra-gtk

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libcanberra-gtk-common-dev/focal,focal 0.30-7ubuntu1 all
libcanberra-gtk-dev/focal 0.30-7ubuntu1 amd64
libcanberra-gtk-dev/focal 0.30-7ubuntu1 i386
libcanberra-gtk-module/focal,now 0.30-7ubuntu1 amd64  [installiert]
libcanberra-gtk-module/focal 0.30-7ubuntu1 i386
libcanberra-gtk0/focal,now 0.30-7ubuntu1 amd64  [Installiert,automatisch]
libcanberra-gtk0/focal 0.30-7ubuntu1 i386
libcanberra-gtk3-0/focal,now 0.30-7ubuntu1 amd64  [Installiert,automatisch]
libcanberra-gtk3-0/focal 0.30-7ubuntu1 i386
libcanberra-gtk3-dev/focal 0.30-7ubuntu1 amd64
libcanberra-gtk3-dev/focal 0.30-7ubuntu1 i386
libcanberra-gtk3-module/focal,now 0.30-7ubuntu1 amd64  [Installiert,automatisch]
libcanberra-gtk3-module/focal 0.30-7ubuntu1 i386

Hi, thank you for your reporting and using my apps-Pin It! and Reco 🥳 (which I confirmed from your screenshot).

Just one thing I'd like to confirm is: Did you make your desktop files listed in the first screenshot using Pin It! or using other apps like text editors? I'm asking this because the app get permission to read icons when it's chosen in the FileChooserDialog used in the app.

Thank you for the fast reply.

No I did not. I was looking for the Icon with the eOS file manager. Once I found the icon I just did a copy + paste of the full path. I did use the FileChooserDialog this time and Pin It does display the icons now. It was my own fault, the issue can be closed :)

Glad to know it works! 👍