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 709866 - Minor behavior fixes for notificationDaemon
Minor behavior fixes for notificationDaemon
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-10-10 20:52 UTC by Jasper St. Pierre (not reading bugmail)
Modified: 2013-10-11 17:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
notificationDaemon: Raise the app when clicking on a notification, not the MRU window (954 bytes, patch)
2013-10-10 20:52 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review
notificationDaemon: Close the message tray when trying to raise an app (802 bytes, patch)
2013-10-10 20:52 UTC, Jasper St. Pierre (not reading bugmail)
reviewed Details | Review

Description Jasper St. Pierre (not reading bugmail) 2013-10-10 20:52:22 UTC
Ran into these while testing with notify-send.
Comment 1 Jasper St. Pierre (not reading bugmail) 2013-10-10 20:52:25 UTC
Created attachment 256950 [details] [review]
notificationDaemon: Raise the app when clicking on a notification, not the MRU window
Comment 2 Jasper St. Pierre (not reading bugmail) 2013-10-10 20:52:31 UTC
Created attachment 256951 [details] [review]
notificationDaemon: Close the message tray when trying to raise an app
Comment 3 Giovanni Campagna 2013-10-10 22:54:40 UTC
Review of attachment 256950 [details] [review]:

If you don't go through Main.activateWindow(), you need to close the overview manually.
Comment 4 Giovanni Campagna 2013-10-10 22:55:33 UTC
Review of attachment 256951 [details] [review]:

Yes
Comment 5 Giovanni Campagna 2013-10-10 22:57:39 UTC
Review of attachment 256951 [details] [review]:

No, wait, the SummaryItem code emits done-displaying-content when you click on the notification, which closes the tray.
Or at least, it used to do that...
Comment 6 Jasper St. Pierre (not reading bugmail) 2013-10-11 14:17:24 UTC
(In reply to comment #5)
> No, wait, the SummaryItem code emits done-displaying-content when you click on
> the notification, which closes the tray.
> Or at least, it used to do that...

I see done-display-content emitted in three places: when you click on "Open" on the right-click menu, when you click on "Remove" on the right-click menu, and when you click on the close button itself.

Nothing for clicking on any actions or the notification itself.
Comment 7 Jasper St. Pierre (not reading bugmail) 2013-10-11 14:18:37 UTC
(Though clearly special-casing clicking on a notificationDaemon notification and not one one of its actions is wrong. I'll ask Jon about correct behavior, as it might get tricky with stacked notifications)
Comment 8 Jasper St. Pierre (not reading bugmail) 2013-10-11 17:37:56 UTC
Attachment 256950 [details] pushed as 0892065 - notificationDaemon: Raise the app when clicking on a notification, not the MRU window


pushed this one with fixes for now. will file with a message tray patch eventually