Where is the set_launcher_icon in snap Zotero?

Hello,
I installed Zotero from SNAP and it works fine (not so with the Flatpak version) on Fedora 42. The only issue is that the Zotero icon is missing from the toolbar, although it is present on the App list.
There is also no `set_launcher_icon`: I searched the PC, but no file is shown, and it is missing from the ~/snap/zotero-snap directory. Also the `~/.local/share/applications/` directory is empty.
How can I reinstate the Zotero icon on the toolbar?
Thank you

On your toolbar, do you see nothing at all representing Zotero, or do you see an empty tile with no icon in it?

The .desktop file doesn’t have a line for StartupWMClass, which is often the reason for that “empty tile” syndrome.

I don’t use Snap though so I don’t have high confidence in this.

btw the Zotero Flatpak works fine for me on F42 KDE and I use it daily.

Thank you for the reply. I can see the Z. icon in the Apps list but there is a general icon in the toolbar itself, as shown in the picture:

I tried Flatpack but there were issues with the L.O. Writer and Google DOC connectors. I am just looking for the icon on the toolbar for esthetic reasons, for the rest, Snap works fine…

Got it. I suspect (but not 100% sure) that the lack of StartupWMClass in the desktop file could be the problem here. The DE can’t associate the open window with a desktop file so it can’t give it an icon.

Ah fair enough, I don’t use them so I can’t claim they work for me.