zenity does not display libnotify message bubble

Bug #65656 reported by Jonathon Conte
6
Affects Status Importance Assigned to Milestone
zenity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: zenity

I'm running the i386 flavor of Edgy Eft beta and have zenity version 2.16.1-0ubuntu1 installed. According to GNOME bug #329989[1], support for libnotify is supposed to be present in zenity 2.16. However, it does not appear to be working correctly in Edgy. I'm not sure if the problem lies in zenity, libnotify (this may be related to bug #65012) or both but here is the output that I get from zenity when trying to make the notification bubble appear:

jconte@kunto:~ $ zenity --notification --listen
message: libnotify support not working

(zenity:1885): libnotify-CRITICAL **: notify_notification_new_with_status_icon: assertion `status_icon == NULL' failed

(zenity:1885): libnotify-CRITICAL **: notify_notification_show: assertion `notification != NULL' failed

(zenity:1885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

[1] http://bugzilla.gnome.org/show_bug.cgi?id=329989

description: updated
Revision history for this message
magilus (magilus) wrote :

For me, in the top right corner an alert sign appears.

zenity does not output anything in the Terminal excepting

GTK Accessibility Module initialized

What is the excepted result?

Revision history for this message
Jonathon Conte (thesicktwist) wrote :

This screenshot illustrates how zenity is supposed to work. When it is started with the notification display option, zenity should be able to make a libnotify message bubble appear.

magilus (magilus)
Changed in zenity:
status: Unconfirmed → Confirmed
Revision history for this message
era (era) wrote :

Reproducible here too, since forever. IIRC I tried to get notifications already under Breezy, but reverted to using regular dialog boxes instead. Now on Edgy I get the alert sign (triangular European "!" traffic sign) and the exact same three assert messages, but no actual message.

This particular box is an AMD64 which was installed on Dapper and updated to Edgy, but I ran Breezy here before and had the same problem then (again, if my memory is at all reliable).

Revision history for this message
Steve Kowalik (stevenk) wrote :

I am going to set this bug to Fix Released, since it looks to be working for me on Feisty.

Changed in zenity:
status: Confirmed → Fix Released
Revision history for this message
Jonathon Conte (thesicktwist) wrote :

I am running the development version of Feisty with all the latest updates and as far as I can see the bug is still present. Although, I can manage to get it to work in one particular case whereas it never worked in Edgy. As I understand it, the following command should make the libnotify message bubble appear yet it does not do so in Feisty:

zenity --notification --text "Bubbles, bubbles everywhere but not a drop to drink."

Yes, the above command does make an icon appear in the notification tray area, but the text argument is not displayed unless the mouse pointer is moved over the icon. However, I can make it work correctly by typing the following:

zenity --notification --listen
message: A little nonsense now and then, is relished by the wisest men.

Hopefully someone can resolve this before the Feisty release. Yes, it is a minor cosmetic bug but the functionality could make for some much more user-friendly scripts as they wouldn't need to steal focus.

Steve Kowalik (stevenk)
Changed in zenity:
status: Fix Released → Confirmed
Revision history for this message
Steve Kowalik (stevenk) wrote :

I think this should be reported upstream, and not here. zenity --notification will only display the notification icon in the status area, not pop up the text passed by --text.

Changed in zenity:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.