Does Qt (plan to) support Gnome Notifications?
-
Hello,
I am not a Gnome user but an upstream maintainer having some Gnome users.QSystrayIcon seems to support the "regular" systray on nearly all desktop environments. But GNOME does not work because it does not have a systray. It seems to have some kind of special/dbus related notification system. I don't want to add extra code for that.
So I'll ask if Qt have plans to extend the QSystrayIcon to also support that special GNOME way?
https://developer.gnome.org/documentation/tutorials/notifications.html#using-notifications
-
Hello,
can you share a bit more about your use case, i.e. what exactly doesn't work for you?
Do you havelibnotifyinstalled? -
Hello Axel,
thank you for reaching out. I think there was a misunderstand on my side about the "GNOME way". ;)I am upstream maintainer of Back In Time. A backup software indicating status of running backup jobs in the systray using QSystrayIcon without problems. Despite the fact that GNOME seems not to have a systray anymore. They are pointing to notification center blabla. I thought this is a replacement for systrays. But it seems it is not and this are just disturbing notification bubbles. That is not what I want.
I think if GNOME itself does not offer a real replacement for systrays then there is nothing that Qt could do about it.
I think my question was invalid.
Regards,
Christian -
Hi @buhtz,
Christian Buhtz, that should have rang me a bell. Heavy BIT user here. Your Qt UI is highly appreciated!
Do let me know if there is anything I can help with. Does it not work to just spark your status updates on DBus? -
Ubuntu's flavor of GNOME has a system tray (and other elements of civilization, such as a dock). It is possible to install the plugin on other distributions as well. It uses the StatusNotifierItem protocol, which Qt support well.
@IgKh said in Does Qt (plan to) support Gnome Notifications?:
Ubuntu's flavor of GNOME has a system tray (and other elements of civilization, such as a dock). It is possible to install the plugin on other distributions as well. It uses the StatusNotifierItem protocol, which Qt support well.
I know about that plugin. But I was not able to get it run and was not motivated to waste more time on that. ;)
-
Hi @buhtz,
Christian Buhtz, that should have rang me a bell. Heavy BIT user here. Your Qt UI is highly appreciated!
Do let me know if there is anything I can help with. Does it not work to just spark your status updates on DBus?@Axel-Spoerl said in Does Qt (plan to) support Gnome Notifications?:
Christian Buhtz, that should have rang me a bell. Heavy BIT user here. Your Qt UI is highly appreciated!
Do let me know if there is anything I can help with. Does it not work to just spark your status updates on DBus?Hello Axel,
thank you. Please be aware that I am only the 3rd generation maintainer of BIT. I am not the founder. And it wasn't even me who started this 3rd generation. It was someone else, I hopped on and we became a team of three. But now I am the only one left as active maintainer. But I have a fine community in the back supporting me with expertise and opinions.What do you mean by "spark your status updates on DBus"? This would result in that notification bubbles, right? That is not what I need.
I also need a persistent systray icon that appears every time BIT is performing a backup or restore.
Anyway, I do plan to rewrite the whole inter process communication part of BIT so we can have a full persistent systray that appears not only when BIT is performing a job. Everything is quit complex when it comes to BIT because of it old/smelly code base. ;)
If you are interested in some insights of the projects:
Best regards,
Christian