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 661221 - don't replace messages before they can be seen
don't replace messages before they can be seen
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: message-tray
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-10-07 19:14 UTC by William Jon McCann
Modified: 2021-07-05 14:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
MessageTray: Add some timeout between chat notifications (5.88 KB, patch)
2012-12-07 19:19 UTC, Carlos Soriano
needs-work Details | Review

Description William Jon McCann 2011-10-07 19:14:35 UTC
Currently when we post a notification that a new chat has arrived we immediately update it if an even newer line of dialog comes in.

So something like:

[new notification]
"Nancy Grace farted on dancing with the stars!"

[updated by]
"haha"

Currently we very quickly flash the original message and replace it almost immediately with "haha". This is pretty annoying since you can't see what you started to see and then it is overwritten with something that references what you didn't see. This compells you to go into the notification or worse into the summary area - and this is precisely what we don't want.
Comment 1 Carlos Soriano 2012-12-07 17:30:38 UTC
I just finished a patch for it.
I'm testing right now, because there's some issues that I don't know if they are already in master branch. So I hope in one or two days I can push it.

Also, do you think 1'5 seconds for timeout between each message is enough?
Comment 2 Carlos Soriano 2012-12-07 19:16:24 UTC
Well, in 1 hour I saw the issues I was having but in the master branch, so the patch is not doing these issues. I push it to review.
Please, take into account that it is my first "long" code patch (the other is not reviewed yet). So sure it has some naming mistakes or manners mistakes. Review carefully please. I tried to follow gnome-shell guidelines, but some things are not specified.
Comment 3 Carlos Soriano 2012-12-07 19:19:29 UTC
Created attachment 230992 [details] [review]
MessageTray: Add some timeout between chat notifications

Until now when a user talks to you many times in no time the
notifications are overrided by the newest notification, not allowing
the user to follow the conversation. Adding some timeout between each
chat notification fix it.
Comment 4 Giovanni Campagna 2013-02-17 20:17:02 UTC
Review of attachment 230992 [details] [review]:

Sorry for taking this long to review.
After testing, I found a problem: if you expand the chat notification, the queue is not drained, so you only get the messages displayed up that point. Furthermore, the timeout appears to be stopped, so you actually lose messages until the notification is next hidden.
I think you need to override expand() and add all messages from there.
Comment 5 Carlos Soriano 2015-02-24 12:45:56 UTC
obsolete yay!
Comment 6 Florian Müllner 2015-02-24 15:07:52 UTC
(In reply to Carlos Soriano from comment #5)
> obsolete yay!

Are you sure? I don't see how the new notifications would address this ...
Comment 7 Carlos Soriano 2015-02-25 15:58:59 UTC
(In reply to Florian Müllner from comment #6)
> (In reply to Carlos Soriano from comment #5)
> > obsolete yay!
> 
> Are you sure? I don't see how the new notifications would address this ...

Notifications are not longer replaced immediately if another came while one is shown no? at least is what I can see...
Comment 8 Florian Müllner 2015-02-25 16:26:29 UTC
As far as I can tell, this was never about another notification coming in, but about updates to an existing notification. That's still supposed to work as before (there's bug 744948, but that's really just that - a bug ...)
Comment 9 Carlos Soriano 2015-02-25 16:36:05 UTC
(In reply to Florian Müllner from comment #8)
> As far as I can tell, this was never about another notification coming in,
> but about updates to an existing notification. That's still supposed to work
> as before (there's bug 744948, but that's really just that - a bug ...)

oh ok.
Comment 10 GNOME Infrastructure Team 2021-07-05 14:29:09 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of  gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/

Thank you for your understanding and your help.