Skip to content

Channels don't always get marked as read when entered #15471

@Gummikavalier

Description

@Gummikavalier

Description:

Since Rocket.Chat version 2.0.0 we're experiencing issues where the channels having only few new messages in them don't get marked as read automatically, leaving the channel name as bolded in the channel list pane.

Steps to reproduce:

  1. There is a new message on the channel. The channel name has turned into bold to indicate this.
  2. The user clicks on the channel and sees the new message on the message pane.

Expected behavior:

The channel should get marked as read and its name in the channel list pane should turn to normal (not in bold).

Actual behavior:

The channel name stays as unread and as bold in the channel list pane.

User can clear this unread status by pressing 'ESC' key to mark the channel as read immediately. Sometimes the this happens automatically when the user waits for a prolonged time (20 seconds), but not always.

In addition to pressing ESC key, also switching tabs in the browser immediately marks the currently open channel as read.

Server Setup Information:

  • Version of Rocket.Chat Server: 2.1.0
  • Operating System: CentOS7
  • Deployment Method: tar
  • Number of Running Instances: 20
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: v8.15.1
  • MongoDB Version: 3.6

Additional context

The issue seems to triggers easier on channels that have threads on them.
The issue has been noted on both Chrome and Firefox browsers.
The user amount, server load, disk latency or the amount of memory or cores does not seem to affect the probability of the issue happening.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions