Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support IconPixmap in the StatusNotifierItem spec #47

Open
wengxt opened this issue Dec 29, 2021 · 1 comment
Open

Support IconPixmap in the StatusNotifierItem spec #47

wengxt opened this issue Dec 29, 2021 · 1 comment

Comments

@wengxt
Copy link

wengxt commented Dec 29, 2021

Reference: see org.freedesktop.StatusNotifierItem.IconPixmap https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierItem/

@loaden
Copy link

loaden commented Jan 5, 2022

Hope this feature can be supported. Thank you guys.

bbhtt added a commit to bbhtt/net.sourceforge.liferea that referenced this issue Oct 23, 2023
Liferea inside the sandbox passes the custom tray icons as relative to
`/app/share/liferea/pixmaps` but that path is not exported by flatpak.
So the shell or extensions implementing tray support, outside the
sandbox can't find it because `/app/share` doesn't exist on the actual
host filesystem.

The result is a blank icon on KDE and blank 3 dots on GNOME with
extension.

So drop custom icons and change them to match the app icon. The app icon
is named by the flatpak id and is exported to a path that is
available to the host through $XDG_DATA_DIRS.

The upside is tray is not totally broken, the downside is custom icons
and unread indicators are lost.

StatusNotifier specification allows to pass pixmaps instead of file
paths, however this is not implemented in appindicator library

AyatanaIndicators/libayatana-appindicator#47

See the discussion in flathub#38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants