GNOME Bugzilla – Bug 675064
regression: lost ability to show continuous status with tray/appindicator icon
Last modified: 2021-05-25 17:45:21 UTC
The change in the "zenity --notification" behavior completely removed the functionality to display an unobtrusive, always visible tray icon from zenity. For clarity, the tray icon functionality should be made available with a proper "zenity --trayicon" status icon feature. For backwards compatibility, the --notification option would have to continue to show an icon. However, it may do so only together with the the --listen option (this then implies status updates should follow). A --notification without --listen may only emit a simple notification bubble and exit. (Just make --notification + --listen an alias for --trayicon.)
The --trayicon should always default to "--listen" for status updates continuously. (Trayicon implies that status updates should follow.) However, for simplistic user interaction, zenity --trayicon could exit on click if called with an --exit-on-click option, or after receiving a command like "onclick:close" (Patch available at Bug 559848).
This issue was filed at https://bugs.launchpad.net/zenity/+bug/884011 before.
How is it possible this bug is still unconfirmed? It was reported over a year ago on launchpad and now 7 months here. Please fix this!
Hi, Would you like to write a patch for this bug? I will be glad to commit. We can work together on this if you like.
Created attachment 289193 [details] [review] Trayicon alias Hello, Well, no excuses for the delay, here's a patch that add the --trayicon option. Please apply in the latest zenity code, and let me know if that's what you want. The code itself isn't elegant, but I'm planning a re-factoring in the whole code, so it wold be a problem apply this right now. I hope you understand, I'm the actual maintainer, and all the job in zenity is made only by me, and normally I don't get tons and tons of patches to review, normally they're few and I'm trying to do my best.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new enhancement request ticket at https://gitlab.gnome.org/GNOME/zenity/-/issues/ Thank you for your understanding and your help.