Rocket.chat: Unread Notification Not Clearing

Created on 25 Sep 2015  Â·  14Comments  Â·  Source: RocketChat/Rocket.Chat

The unread notifications not clearing for some reason has annoyed me and I've finally seen a pattern recently, here are the steps to replicate it:

  1. Create new channel, unread-test in my case
  2. Have someone else join, geekgonecrazy in my case
  3. Chat a couple times
  4. Unfocus the window while leaving that channel up
  5. Have the other person spam to the point the unread mark goes out of view.
  6. Read all the chat (bar should show correct information) and make sure it marks as read
  7. Unfocus the window again
  8. Have the other person spam even more
  9. Type something without reading the chat
  10. Have the other person spam even more
  11. See the unread amount of step 10 plus step 8. bug
  12. Scroll up to the message sent in step 9 and see the unread bar go away.
  13. Scroll up so message sent in step 9 is out of view and the unread bar comes back. bug

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

needs testing bug

Most helpful comment

@gwillen a quick workaround would be pressing escape on the keyboard after going out of the channel and back in.

All 14 comments

13 steps? Fear!!! :smile:

Thanks, I will try to reproduce ASAP

Yeah pretty much :stuck_out_tongue_winking_eye: if you need help reproducing, ping me and I'll help.

Hm, I can't tell if this issue is describing the same problem I'm seeing. I'm seeing channels having the has-alert CSS class (e.g. showing in bright white boldface) even though I've scrolled all through their contents and nothing seems unread. Is that closely related to this issue or separate? I see discussion of the unread bar in the chat window, but not of whether the channel is also showing as unread. Thanks!

Yes, that's the same thing which is happening here.

On Sun, Nov 29, 2015, 7:07 PM gwillen [email protected] wrote:

Hm, I can't tell if this issue is describing the same problem I'm seeing.
I'm seeing channels having the has-alert CSS class (e.g. showing in bright
white boldface) even though I've scrolled all through their contents and
nothing seems unread. Is that closely related to this issue or separate? I
see discussion of the unread bar in the chat window, but not of whether the
channel is also showing as unread. Thanks!

—
Reply to this email directly or view it on GitHub
https://github.com/RocketChat/Rocket.Chat/issues/885#issuecomment-160490980
.

My users have complained about this as well.

This bug definitely makes Rocket extremely difficult to use.

unread

At a minimum, shouldn't the unread flags be cleared when the user has made a reply in that channel?There seems to be a related bug where the client insists there's unread messages both above and below the view, even when there is none.

rocket

I've not been able to find a quick workaround unfortunately.

One of my coworkers suggested a workaround which seems to 'unstick' the notification eventually: Repeatedly (1) clicking the channel and then (2) scrolling to the top and bottom of the window. Usually after something like 5 or 10 tries, this seems to work. Not really sure why, but it beats leaving it around forever.

@gwillen a quick workaround would be pressing escape on the keyboard after going out of the channel and back in.

+1 I have also noticed notifications that are not cleared like this

+1

+1

@marceloschmidt Is there is a commit that fixes this issue?

There were multiple commits regarding this, the latest one being dffc11b.

Thank you, that's awesome! That helps me track what I should be encouraging our IT guy to update to, and when.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wanderer picture wanderer  Â·  84Comments

amolliex picture amolliex  Â·  73Comments

dennis-f picture dennis-f  Â·  62Comments

engelgabriel picture engelgabriel  Â·  158Comments

oliver-bowman picture oliver-bowman  Â·  55Comments