The timeline:

  1. X writes a chat message addressed to me.
  2. Y writes a comment addressed to me.
  3. I visit the main site and read my inbox, which contains the notification of Y's comment.
  4. I haven't visited the chat since this started, so a chat message notification from X reaches my inbox.
  5. I visit the main site again and am notified of one message in my inbox. The order of the notifications is: Y's comment notification on top, then X's chat notification, then older notifications. So far so good; notifications are in chronological order according to the original event.
    The bug is that the comment notification was highlighted as new, and the chat message notification wasn't. So the comment looked like a new comment (but it wasn't) and the chat message looked like something I'd seen (but I hadn't).

(Sorry, I didn't think of taking a screenshot. Devs: the two events were chat message and comment. Now, of course, they both have "IsNew":false; I don't know whether the IsNew field was wrong then, or only the highlighting.)

Of course in real life it's often not just two items but a bunch of chat delayed notifications spread among a bunch of synchronous notifications. It gets rather messy.

This is a year-old bug (at least) that the new top bar didn't fix.

Given the existence of delayed notifications, either inbox elements can be in event chronological order (as opposed to delivery chronological order), or the new items in the inbox can always be the top ones. But it can't be both.

  • Hmm, that reminds me that I once had somewhat of the opposite problem before.
    – Tim Stone
    Commented Jan 2, 2013 at 14:37
  • The existing inbox code only has a count of unread items, so the unread ordering can get mixed up in this case - a backend refactor of the inbox storage will give each item an IsUnread property, so this should get fixed. Commented Dec 6, 2013 at 18:58
  • Refunding your bounty, too. The refactor won't be done by the time it ends. Commented Dec 6, 2013 at 18:59


You must log in to answer this question.

Browse other questions tagged .