Maybe the best solution is to use a "Leaky Bucket" model for the
notifications. Each application has its own bucket which has a fixed
capacity. Bubbles in the bucket are queued for displaying at a constant
rate, equivalent to the size of the hole in the bucket. Obviously if the
bucket is empty the bubble will pass through. If the bucket is full
every message from that application will be discarded.

-- 
design problem? infinite wait for long queue
https://bugs.launchpad.net/bugs/334809
You received this bug notification because you are a member of Notify
OSD Developers, which is subscribed to Notify OSD.

Status in Notify OSD: Confirmed
Status in “notify-osd” source package in Ubuntu: Confirmed

Bug description:
Binary package hint: notify-osd

I'm using pidgin-libnotify and I discovered a problem in notify-osd (maybe a 
design problem, not sure).
When a buddy writes me a lot of lines (say 25) all messages are queued and 
showed in the bubbles. Every bubble stays there for 7 seconds. 7*25=almost 3 
minutes.

What happens is that if any other contact writes to me, the bubbles are 
scheduled too! And also the notifies sent through "notify-send" are.

(Instead volume notifies are displayed below.)

This is a problem, because it seems that an application can bring the monopoly 
of the notification bubbles.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: notify-osd 0.8-0ubuntu4
ProcEnviron:
 PATH=(custom, user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: notify-osd
Uname: Linux 2.6.28-8-generic i686

_______________________________________________
Mailing list: https://launchpad.net/~dx-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dx-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to