← Back to team overview

dx-packages team mailing list archive

[Bug 390508] Re: notifyOSD ignores the expire timeout parameter

 

Well, it looks like the tide has turned toward sweeping this under the
rug by changing the man page...

Allow me to reiterate that this is the wrong way to fix this bug.

The correct way would be to support the timeout parameter.

That would also follow the freedesktop spec, if it still means anything
to anybody.

Case in point:

Similar to adryoman5, I'm use a script that controls a television card
and uses notify-osd to provide information much like the OSD on an
actual television. Some of the messages are relatively important, others
are unimportant.  The "--urgency" parameter is not what I'm looking for
as it only controls which messages a user will actually see (and users
have no idea how to control which messages they will actually see). The
best way to do this is to specify all the messages as "--
urgency=critical" to be certain they will actually make it onto the
screen; but some of them don't need to stay there long.

For example, when channel surfing, if I leave each CH+/- on the screen
for five seconds, by the time I've switched five channels I might still
be looking at the number of the first one, or possibly five numbers for
five different channels. That would be dumb. The numbers need to be
displayed, but they don't need to be displayed for five seconds each.
Less than a second each would be acceptable. This is not possible with
the current design.

You might ask why I just don't replace each old notification with the
next one, but then I'd have to redirect you to bug 257135

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to notify-osd in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/390508

Title:
  notifyOSD ignores the expire timeout parameter

Status in One Hundred Papercuts:
  Invalid
Status in Message Web:
  New
Status in Notify OSD:
  Won't Fix
Status in “notify-osd” package in Ubuntu:
  Won't Fix

Bug description:
  Binary package hint: libnotify-bin

  adyroman@panther:~/libnotify-0.4.5/tools$ lsb_release -rd
  Description:	Ubuntu 9.04
  Release:	9.04
  adyroman@panther:~/libnotify-0.4.5/tools$ 

  adyroman@panther:~/libnotify-0.4.5/tools$ apt-cache policy libnotify-bin
  libnotify-bin:
    Installed: 0.4.5-0ubuntu1
    Candidate: 0.4.5-0ubuntu1
    Version table:
   *** 0.4.5-0ubuntu1 0
          500 http://ro.archive.ubuntu.com jaunty/universe Packages
          100 /var/lib/dpkg/status
  adyroman@panther:~/libnotify-0.4.5/tools$ 

  adyroman@panther:~/libnotify-0.4.5/tools$ cat notify-send.c | grep expire_timeout
  	static glong expire_timeout = NOTIFY_EXPIRES_DEFAULT;
  		{ "expire-time", 't', 0,G_OPTION_ARG_INT, &expire_timeout,
  	notify_notification_set_timeout(notify, expire_timeout);
  adyroman@panther:~/libnotify-0.4.5/tools$

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/390508/+subscriptions