AyatanaIndicators / ayatana-indicator-application

Ayatana Indicator Application Service
GNU General Public License v3.0
5 stars 2 forks source link

Doesn't work with xembedsniproxy #1

Open ilya-fedin opened 4 years ago

ilya-fedin commented 4 years ago

I'm trying to use this indicator with https://github.com/KDE/plasma-workspace/tree/master/xembed-sni-proxy But it doesn't work because of this check https://github.com/AyatanaIndicators/ayatana-indicator-application/blob/master/src/application-service-appstore.c#L489 xembedsniproxy items don't have Menu and IconName properties. For example, it works with https://gitlab.com/vala-panel-project/xfce4-sntray-plugin

sunweaver commented 4 years ago

Hi!

I'm trying to use this indicator with https://github.com/KDE/plasma-workspace/tree/master/xembed-sni-proxy But it doesn't work because of this check https://github.com/AyatanaIndicators/ayatana-indicator-application/blob/master/src/application-service-appstore.c#L489 xembedsniproxy items don't have Menu and IconName properties. For example, it works with https://gitlab.com/vala-panel-project/xfce4-sntray-plugin

I just asked for plasma-workspace in Debian to split out the xembed-sni-proxy binary.

For getting this issue here fixed, do you know if applications injected via xembed-sni-proxy have any other properties (or whatever), so that they can be recognized as proxied xembed applications?

I will look into this shortly...

ilya-fedin commented 4 years ago

For getting this issue here fixed, do you know if applications injected via xembed-sni-proxy have any other properties (or whatever), so that they can be recognized as proxied xembed applications?

No, but they don't have properties that other applications have image

When I created this issue, I didn't know that the fact that indicator-application doesn't support IconPixmap is a feature. So, if the issue shouldn't be "fixed", I can just close it :)

slytomcat commented 2 years ago

Is there any plan to implement IconPixmap property of org.kde.StatusNotifierItem as it described here ?

I found that IconPixmap property supported by default panel plugins (that serve as org.kde.StatusNotifierWatcher on D-BUS) in Ubuntu|Xubuntu|Kubuntu 22.04 but in Ubuntu Mate 22.04 (where org.kde.StatusNotifierWatcher is served by ayatana-indicator-application-service) it is not supported. That's seems as miss-standard.

ilya-fedin commented 2 years ago

Btw, I tested Xubuntu 22.04 some time ago and it's a funny thing that it actually runs both: ayatana-indicator-application-service and Xfce's default applet, it's actually just a coincidence that the default applet runs first and takes over, otherwise you would see ayatana-indicator-application-service just like in Ubuntu MATE.

slytomcat commented 2 years ago

https://github.com/AyatanaIndicators/libayatana-appindicator/issues/47 - another issue related to this one.