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 642659 - Persistent notifications should be removed when application gets killed
Persistent notifications should be removed when application gets killed
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: message-tray
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-02-18 09:21 UTC by Guido Günther
Modified: 2011-03-07 22:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
MessageTray: remove source if associated application exits (2.54 KB, patch)
2011-03-07 22:34 UTC, Neha
committed Details | Review

Description Guido Günther 2011-02-18 09:21:17 UTC
When an application using persistent notifications get killed (e.g. by SIGTERM, SIGSEGV or SIGINT) the persistent notification doesn't get removed from the message-tray. Since the buttons on the notifications stop responding this confuses users, especially since a second notification shows up once the app is restarted. 

Tested with gnome-shell 2.91.5 and rhythmbox as well as krb5-auth-dialog.
Comment 1 Neha 2011-03-07 22:34:42 UTC
Created attachment 182782 [details] [review]
MessageTray: remove source if associated application exits

We don't want sources that are no longer associated with a running
application to stick around in the message tray.
Comment 2 Marina Zhurakhinskaya 2011-03-07 22:40:26 UTC
Comment on attachment 182782 [details] [review]
MessageTray: remove source if associated application exits

Neha, thank you for your work on this patch!

(This has been reviewed over IRC and based on an older patch in bug 633412.)