After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 675064 - regression: lost ability to show continuous status with tray/appindicator icon
regression: lost ability to show continuous status with tray/appindicator icon
Status: RESOLVED OBSOLETE
Product: zenity
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Zenity Maintainers
Zenity Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-04-29 10:32 UTC by Mic
Modified: 2021-05-25 17:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Trayicon alias (8.44 KB, patch)
2014-10-23 09:48 UTC, Arx Cruz
none Details | Review

Description Mic 2012-04-29 10:32:00 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.)
Comment 1 Mic 2012-04-29 10:54:05 UTC
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).
Comment 2 Mic 2012-04-29 10:56:36 UTC
This issue was filed at https://bugs.launchpad.net/zenity/+bug/884011 before.
Comment 3 peter.poeltl 2012-11-25 13:23:52 UTC
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!
Comment 4 Arx Cruz 2012-11-25 18:24:11 UTC
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.
Comment 5 Arx Cruz 2014-10-23 09:48:02 UTC
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.
Comment 6 André Klapper 2021-05-25 17:45:21 UTC
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.