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

Member List showing max 25 users, can't scroll to load more

Open cprice-kgi opened this issue 4 years ago • 3 comments

Description:

under certain circumstances, the member list will show 25 members and disallow scrolling to be able to load the rest of the users.

Steps to reproduce:

To reproduce, make browser height tall enough so that at 25 or more member names can fit in the right hand menu. Go to a channel with more than 25 members. On initial load, it works fine and the scrollbar appears as expected. Toggle the online/all filter to online. The list updates to show online users only. Now, click back to "All" and 25 member names appear, but no scroll bar.

Expected behavior:

it should work as it does when you initially load the page, allowing you to scroll to load the remainder of the users.

Actual behavior:

it only shows 25, with no option to scroll.

Server Setup Information:

  • Version of Rocket.Chat Server: 3.15.4
  • Operating System: RedHat
  • Deployment Method: tar
  • Number of Running Instances: 3
  • DB Replicaset Oplog:
  • NodeJS Version: whatever is recommended for 3.15.4
  • MongoDB Version: whatever is recommended for 3.15.4

Client Setup Information

  • Desktop App or Browser Version: Chrome
  • Operating System: OSX 11.6

Additional context

works fine on initial load of member list, but exhibits the issue when flipping the filter as stated above.

Relevant logs:

cprice-kgi avatar Nov 19 '21 04:11 cprice-kgi

I commented on this closed issue that addresses something similar, but since it's closed I decided to open a new issue for discussion: https://github.com/RocketChat/Rocket.Chat/issues/21505

cprice-kgi avatar Nov 19 '21 04:11 cprice-kgi

Just update your RC server at least to 3.18.3 I'm on 3.18.2 now and Member List show more then 25 users.

ankar84 avatar Nov 22 '21 08:11 ankar84

Our RC 5.3.3 seems to limit the max shown amount of members to somewhere between 40 - 80 for regular users and for admins ~300.

Disabling rate limiters did not have effect. I suspect there is a hardcoded limiter to prevent excess load that resolving hundreds of usernames to real names would cause.

How easily you hit the limit is affected by the size of the window. When you hit the limit, cooldown timer starts and does not allow loading more even if you refresh the RC window. You may end up having just an empty members list until the cooldown timer ends.

On a big channel if you need to be able to elevate a user to owner for instance and you cannot scroll down to find them, a workaround is to do a search. However this too causes members list to go completely blank very easily. When you do consecutive searches and clear the result, every time you do this more members list entries shown by default disappear. Eventually the search stops showing the results too. This kind of proves the existence of hardcoded limiter for the members list.

Gummikavalier avatar Nov 25 '22 08:11 Gummikavalier

Hi there, thanks for the contribution! 🚀 💯

Sorry, this error does not happen on the latest and maintained releases.

Rocket.Chat  provides support for, at least, 3 months for each release and 6 months to the latest releases of each major version

I would suggest you update your Rocket.Chat version to the latest stable version, which you can find in Releases Page and, check it HERE the table with versions and End of Life dates.


Questions? Help needed? Feature Requests?

  • Join our Open Server in the #support channel and feel free to raise a question
  • Join our Community Forum and search/create a post there

hugocostadev avatar Apr 05 '23 17:04 hugocostadev