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?)
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/ client. py 2009-05-08 10:04:03.449382030 -0400 gtk.Window) : messages. reverse( ) gdk.threads_ enter() len(new_ messages) > 0') new_messages) : support. xml_escape( message. text)
expire_ timeout = 5000 + (index*2000) # default to 5 second timeout and increase by 2 second for each notification notify( message. sender, body, image, ["reply", "Reply"], expire_timeout)
self. notification_ bubbles[ n] = message gdk.threads_ leave()
+++ gwibber/
@@ -995,12 +995,14 @@ class GwibberClient(
new_
gtk.
if len(new_messages) > 0:
+ print('
for index, message in enumerate(
body = microblog.
image = hasattr(message, "image_path") and message.image_path or ''
n = gintegration.
+ print('popping up message: %s' % body)
gtk.
Then, I ran gwibber and waited:
[spot@velociraptor F-11]$ gwibber bit.ly/ NZ52S bit.ly/ NZ52S
len(new_messages) > 0
popping up message: RT @PanoramaSW: OffiSync integrates Google Docs with Microsoft Office http://
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://
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?)