Allow me to clarify the situation. In the Desktop Notification Specification there is nothing to suggest that the expire_timeout parameter is optional. https://developer.gnome.org/notification-spec/#commands
The devs for gnome-shell and notifyOSD have taken it upon themselves to silently(!) ignore the parameter in their server implementation. There is a comment in the code for gnome-shell that states this, but IMHO that is not the right way to deal with this. I can see two logical solutions: 1) Fix gnome-shell and notifyOSD to conform to the spec. ie. stop ignoring the expire_timeout parameter. This implies modifications to the code (see aforementioned patch) and no modification to the spec. 2) Change the spec to explicitly advertise support for expiration timeout via a server capability eg. if "expire-timeout" does not appear in the list returned by org.freedesktop.Notifications.GetCapabilities() then the client will _know_ that the expire_timeout parameter will be ignored because the server does not support it. This solution would imply no modifications to the code for gnome-shell/notifyOSD (they will not have expire-timeout published in capabilities, therefore ignoring the expire_timeout parameter becomes perfectly logical and expected.) It will however require changes to the spec and probably to various other client and server implementations. -- 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 -- Mailing list: https://launchpad.net/~dx-packages Post to : dx-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~dx-packages More help : https://help.launchpad.net/ListHelp