wingpanel-indicator-ayatana
wingpanel-indicator-ayatana copied to clipboard
Flatpak app can not show the icon correctly
Install some app from flatpak repo have indicator in the wingpanel, e.g.
flatpak install com.obsproject.Studio
or:
flatpak install org.ksnip.ksnip
After run the app, will can not show the correct icon on the panel. just like this:
or this:
By the way, it's does not work in systemd-nspawn apps too. Sounds like it's can not find the icon if the app come from a container. e.g. Flatpak, Snap, Systemd-nspawn, LXC something.
But some flatpak icons appear in the panel. Did you try a reboot or could you try it please ? What I fear, is a problem with authorizations.
Reboot does not help. what's the problem about authorizations? they are all opensource.
Thanks for testing the reboot, sorry it didn't help. Yes but Flatpak versions comes with a list of authorizations : directory and files access, did you try the debian version (.DEB) of ksnip/ksnip ?
The DEB version is fine both with obs or ksnip. I've tried that before.
Thank you, so it's a lack of authorization, the access to icons is broken with flatpak, and I can't do anything. Sorry. But you can perhaps open an issue in obs and ksnip.
But in legacy tray, e.g. stalonetray or trayer, They can access the icons in flatpak apps. only wingpanel-indicator can not. so, could you please have a try?
I don't know why, but Steam icons show up just fine. It came from Flatpak too.
@Lafydev Hi fcitx developer here. I think the reason is not relevant to flatpak. New version of fcitx use IconPixmap to pass some of the icon. I briefly grep through the code in https://github.com/AyatanaIndicators/libayatana-appindicator/ and didn't find anything relevant. So likely it's not supported by libayatana-appindicator.
Opened a issue in libayatana-appindicator https://github.com/AyatanaIndicators/libayatana-appindicator/issues/47