Comment 59 for bug 304033

Revision history for this message
Tom "spot" Callaway (tcallawa) wrote :

Well, the random crashes are hard, because thankfully, they're few and far between.

The double bubbles happen on EVERY message, which is rather annoying. I threw in some very crude debugging code:

--- gwibber/gwibber/client.py.BAD 2009-05-08 10:02:48.782382179 -0400
+++ gwibber/gwibber/client.py 2009-05-08 10:04:03.449382030 -0400
@@ -995,12 +995,14 @@ class GwibberClient(gtk.Window):
     new_messages.reverse()
     gtk.gdk.threads_enter()
     if len(new_messages) > 0:
+ print('len(new_messages) > 0')
         for index, message in enumerate(new_messages):
             body = microblog.support.xml_escape(message.text)
             image = hasattr(message, "image_path") and message.image_path or ''
             expire_timeout = 5000 + (index*2000) # default to 5 second timeout and increase by 2 second for each notification
             n = gintegration.notify(message.sender, body, image, ["reply", "Reply"], expire_timeout)
             self.notification_bubbles[n] = message
+ print('popping up message: %s' % body)
     gtk.gdk.threads_leave()

Then, I ran gwibber and waited:

[spot@velociraptor F-11]$ gwibber
len(new_messages) > 0
popping up message: RT @PanoramaSW: OffiSync integrates Google Docs with Microsoft Office http://bit.ly/NZ52S
popping up message: saw a giant bug in a gas station restroom today - wanted to ask it if it needed a newspaper and a match. I'm here all weekend, try the meatloaf.
popping up message: Off to Columbus today, and no, that's not some arty metaphor. Although why that would be thought metaphoric is beyond me. I'll shut up now.
len(new_messages) > 0
popping up message: RT @PanoramaSW: OffiSync integrates Google Docs with Microsoft Office http://bit.ly/NZ52S
popping up message: saw a giant bug in a gas station restroom today - wanted to ask it if it needed a newspaper and a match. I'm here all weekend, try the meatloaf.
popping up message: Off to Columbus today, and no, that's not some arty metaphor. Although why that would be thought metaphoric is beyond me. I'll shut up now.

There is about a 30 second pause between the two bunches of bubbles. It feels almost like a dbus timeout issue.

libnotify is 0.4.5, dbus is 1.2.12 (ubuntu may have older versions?)