After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665761 - notify-send ignores timeout in gnome-shell
notify-send ignores timeout in gnome-shell
Status: RESOLVED NOTABUG
Product: libnotify
Classification: Platform
Component: general
0.7.x
Other Linux
: Normal normal
: ---
Assigned To: libnotify-maint
libnotify-maint
Depends on:
Blocks:
 
 
Reported: 2011-12-07 23:54 UTC by tuxor
Modified: 2013-12-19 10:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description tuxor 2011-12-07 23:54:33 UTC
In gnome-shell I tried executing:

notify-send --expire-time=1000 test
notify-send --expire-time=10 test
notify-send --expire-time=500 test
notify-send --expire-time=8000 test
notify-send --expire-time=-1 test
notify-send --expire-time=0 test

But regardless of the --expire-time option value, the notification will stay for a fix amount of time of appx. 5 seconds or until the user clicks on it.

I'm running Fedora 16 (x86_64) and these versions of the relevant software:

libnotify.x86_64                        0.7.4-1.fc16
gnome-shell.x86_64                      3.2.1-2.fc16
Comment 1 tuxor 2012-02-13 16:07:21 UTC
Would you please explain, why this can't be confirmed? Is this running flawlessly on other OS?

Still having the same behaviour on Fedora 16 (x86_64) with 

gnome-shell.x86_64                    3.2.2.1-1.fc16
libnotify.x86_64                      0.7.4-1.fc16
Comment 2 André Klapper 2012-04-04 10:39:30 UTC
Mass-fixing incorrect Default Assignee and QA contact scheme for libnotify so interested people can follow its development. (See 606365#c1 for ref.)
Comment 3 wassup 2013-12-18 00:11:32 UTC
Two years have passed and this bug is not only unconfirmed in the bugtracker, but still persistent.
Comment 4 Matthias Clasen 2013-12-18 05:13:56 UTC
Its not considered a bug - gnome-shell does not give applications control over the expiration time of notifications.
Comment 5 wassup 2013-12-19 10:07:26 UTC
I have stumbled upon a discussion in another bug report and found out it is not considered to be a bug anymore. Yet, perhaps it would be useful to update the relevant help page, so either the timeout option is removed from there or, if it works in other environments, a specific note might be added that it indeed does not work in Gnome 3?