Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Unread Notification Not Clearing

Open graywolf336 opened this issue 11 years ago • 14 comments

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.

graywolf336 avatar Sep 24 '15 22:09 graywolf336

13 steps? Fear!!! :smile:

Thanks, I will try to reproduce ASAP

rodrigok avatar Sep 24 '15 22:09 rodrigok

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

graywolf336 avatar Sep 24 '15 23:09 graywolf336

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!

gwillen avatar Nov 30 '15 01:11 gwillen

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 .

graywolf336 avatar Nov 30 '15 01:11 graywolf336

My users have complained about this as well.

internalfx avatar Dec 11 '15 19:12 internalfx

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.

tulip0 avatar Dec 30 '15 13:12 tulip0

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 avatar Dec 30 '15 18:12 gwillen

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

graywolf336 avatar Dec 30 '15 18:12 graywolf336

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

asmartin avatar Jan 28 '16 16:01 asmartin

+1

Ruuudi avatar Mar 08 '16 13:03 Ruuudi

+1

Molle500 avatar Mar 12 '16 23:03 Molle500

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

gwillen avatar Apr 04 '16 18:04 gwillen

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

marceloschmidt avatar Apr 04 '16 19:04 marceloschmidt

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

gwillen avatar Apr 04 '16 19:04 gwillen