GNOME Bugzilla – Bug 648243
Message bottom is displayed instead of beginning
Last modified: 2015-02-23 21:33:22 UTC
Created attachment 186312 [details] expected behaviour I'm writing a email notifier for gnome 3 and discovered a strange behavior of the messaging tray: - if a notification is first displayed in the middle of the screen, everything is ok, the start of the notification is displayed (most recent emails of my app are visible). - if the notification is reopened from the messaging tray on the right, suddenly the end of the message is displayed (scrolled down, old emails are displayed). Another observation: If the message is first displayed in the middle of the screen, the actions are not included in the scrollable pane (expected behavior). if the message is reopened from the tray, actions are included in the scrollable pane (maybe thats why the pane is scrolled down - to display the actions?) The notifier app can be found here: http://launchpad.net/mailnag Screenshots attached.
Created attachment 186313 [details] scrolled down
This is basically an expected behavior because the new notification is designed to show a single notification and to show actions associated with it, and a summary notification is designed to combine all notifications associated with a source, with each notification possibly having different actions. The newer notifications are displayed on the bottom in the summary notification stack. You might want to consider sending new notifications that only cover one message or one set of messages, rather than combine all the information in a single notification. All the information will be automatically combined in the summary notification. The duplicate action buttons in the summary notification will probably not look right though. However, neither "Open in mail reader", nor "Close" action seems necessary with the gnome-shell message tray. The mail reader will be opened if the user clicks on the notification or chooses "Open" in the right click menu. I am not sure whether "Close" action is intended for hiding or removing the notification. Clicking anywhere outside of the notification will hide it. Switching to the corresponding application, i.e. the mail reader, or selecting "Remove" in the right click menu will remove it. On the other hand, duplicate actions such as "Mark as Read" or "Delete" might make sense, as they can be applicable to each notification in the stack. Feel free to keep an eye on bug 653699 to see how mail notifications get implemented for Evolution.
Hi Marina, thanks for your response. Sending single notifications is not an option, because - It's very annoying if you've been away for a few days and there are many new mails (a notification pops up for every single mail) - Its not possible to show the total mailcount in a summary - As you've pointed out already the actions are duplicated in the notification stack I'm still not confident the current behaviour is ok anyway. I'm fine with displaying the most recent notification at the bottom of the notification stack. The only problem here is that it does not only scroll down to the most recent notification - it scrolls down to *the end* of the most recent notification. So if you have e.g. 10 notifications in the stack and the text of the last one exceeds the height of the notification bubble, you still have to scroll up to see what the last notification is about because you just see its bottom. So yes, I'd expect the notification stack to scroll down to the last notification, but to its summary - not to its bottom. Doing so would also fix my mail notification problem because I always display one notificaion which is of course always the last one.
With the new notifications design [1], we don't stack notifications any more - so I think this bug is obsolete. Feel free to reopen if you think otherwise. [1] https://wiki.gnome.org/Design/OS/Notifications/