Patrick

Results 857 comments of Patrick

Yes that is what I mean. If a package enables that option it cannot work in a Gtk2 or Gtk4 application. It would be best to have parallel libraries so...

> Well, supporting multiple versions of GTK, I'm not entirely sure exactly what it would entail but it feels like adding lots of complexity for something that might not even...

> But you might already be able to use it with gtk2 fine *unless* you enable libdbusmenu support, no? In the short term where I bundle this, yes that is...

> I'm not sure what you mean by that (bad for sandboxing) Flatpak grants access to applications based on bus names so by default applications cannot own random bus names....

Just as an update, since you pass the bus name at registration time it can be anything in practice: https://freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierWatcher/ > Register a StatusNotifierItem into the StatusNotifierWatcher, in the form...

In practice it seems StatusNotifierWatcher implementations don't care what the bus name is (why should they) and it means it can work in sandboxes. Honestly its a bad spec, PIDs...

Well the end result is my software just uses libappindicator and I just recommend libappindciator. Not because its good, not because it follows specs, but because it functionally works where...

It doesn't expose that as part of their API. Looking at the source it seems to actually call `RegisterStatusNotifierItem()` with a path not a bus name: - https://github.com/AyatanaIndicators/libayatana-appindicator/blob/f9d315aa3e461d1f454ad89672cdd2321985e48f/src/app-indicator.c#L1380 - https://github.com/AyatanaIndicators/libayatana-appindicator/blob/f9d315aa3e461d1f454ad89672cdd2321985e48f/src/app-indicator.c#L1353...

libappindicator is very widely used, very likely the most widely used "implementation" of statusnotifiers at all. KDE and the GNOME-Shell extension do support it. I agree it is a bad...

> I'd appreciate if you could try & make sure that solves your issue wrt to sandboxing as well. I can confirm that it works in a sandbox and against...