Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent scrolling after jumping to a search result #35366

Open
jalbstmeijer opened this issue Feb 28, 2025 · 13 comments
Open

Inconsistent scrolling after jumping to a search result #35366

jalbstmeijer opened this issue Feb 28, 2025 · 13 comments

Comments

@jalbstmeijer
Copy link

Description:

When jumping to an old message after searching, scrolling further back in history makes it jump to days later. Making it impossible to keep on scrolling back.

This happens both on the desktop app as in the browser

Steps to reproduce:

  1. search for a string in the past
  2. jump to a old match
  3. try scrolling from that back further in history for a while.
  4. it seems when it has to load in older messages, it suddenly jumps forward.

Expected behavior:

Being able to keep on scrolling back in history after jumping to a found line in a search action.

Actual behavior:

While scrolling back you get thrown forward in time.

Server Setup Information:

  • Version of Rocket.Chat Server: 7.3.1
  • License Type: Community
  • Number of Users: 3
  • Operating System: official docker image
  • Deployment Method:
  • Number of Running Instances:
  • NodeJS Version: official docker image
  • MongoDB Version: 6.0.20

Client Setup Information

  • Desktop App or Browser Version: 4.1.2 and Brave 1.75.175
  • Operating System: NixOS 24.11
@Kartikayy007
Copy link

hey @jalbstmeijer can you provide a screen recording of the issue it make easier to get idea of the issue

@reetp
Copy link

reetp commented Mar 1, 2025

I think this is a duplicate.

Please search here for scroll or similar.

@jalbstmeijer
Copy link
Author

While trying to get to the messages I want to look back at, I tried scrolling back to them. But as the messages are 3 years old, the interface starts becoming less response the further I scroll back in history. I do not get to these messages this way, before the gui becomes almost unresponsive.

@jalbstmeijer
Copy link
Author

hey @jalbstmeijer can you provide a screen recording of the issue it make easier to get idea of the issue

I don't see a way of doing this without exposing private messages.

@reetp
Copy link

reetp commented Mar 3, 2025

Remember that when you scroll back the system lazy loads rather than being cached so needs to pull the data from the DB.

A lot of the performance is a) in your server/DB and then b) in your client

Can you please tell us what hardware you are using on the client and the server?

RAM, drive spec etc.

(Sorry - wrongly closed it by mistake!)

@reetp reetp closed this as completed Mar 3, 2025
@reetp reetp reopened this Mar 3, 2025
@reetp reetp closed this as completed Mar 3, 2025
@reetp reetp reopened this Mar 3, 2025
@jalbstmeijer
Copy link
Author

Remember that when you scroll back the system lazy loads rather than being cached so needs to pull the data from the DB.

A lot of the performance is a) in your server/DB and then b) in your client

Can you please tell us what hardware you are using on the client and the server?

It is running in an AWS m6i.2xlarge. (8 cores, 32GB mem, ssd disks)
It is running together with other services, but the server is not under load on anything.

Workstation should be fine too, a i7 16GB mem laptop.

I'll test later when scrolling back, if any or both are working hard.

@reetp
Copy link

reetp commented Mar 3, 2025

I find it slightly surprising with such hardware and so few users.

I'd try testing on open.rocket to see what occurs.

@jalbstmeijer
Copy link
Author

I find it slightly surprising with such hardware and so few users.

I'd try testing on open.rocket to see what occurs.

Don't know what open.rocket is.
But if you mean a hosted RocketChat. I won't have a couple of years of message history there to reproduce the problem.

@reetp
Copy link

reetp commented Mar 4, 2025

I find it slightly surprising with such hardware and so few users.
I'd try testing on open.rocket to see what occurs.

Don't know what open.rocket is. But if you mean a hosted RocketChat.

You really should appraise yourself of https://open.rocket.chat which is the main place for support.

Support

I won't have a couple of years of message history there to reproduce the problem.

But

search for a string in the past

You can search for terms that will be years old, threads that are years old etc. Just scroll back a long way and look for an old comment and then search for it etc.

Just search for my user id reetp and you can scroll back and then pick a message from me that is over 5 years back and try that. (I just did that)

And note you still haven't answered this:

I find it slightly surprising with such hardware and so few users.

So why have you got such hardware and only 3 users?

@jalbstmeijer
Copy link
Author

Don't know what open.rocket is. But if you mean a hosted RocketChat.

You really should appraise yourself of https://open.rocket.chat which is the main place for support.

Support

You can search for terms that will be years old, threads that are years old etc. Just scroll back a long way and look for an old comment and then search for it etc.

Just search for my user id reetp and you can scroll back and then pick a message from me that is over 5 years back and try that. (I just did that)

I'll give it a go and see if I can reproduce it.

And note you still haven't answered this:

I find it slightly surprising with such hardware and so few users.

Ah, did not see any question in that.

So why have you got such hardware and only 3 users?

Yes, but like I said. We re running more things on that server.
But the load while testing is low, so rocketchat has lots of resources available.

@jalbstmeijer
Copy link
Author

@reetp
Copy link

reetp commented Mar 5, 2025

@jalbstmeijer
Copy link
Author

https://drive.google.com/file/d/1Inn3JQJq8ar6BsHBfiitlUPbrqfPww21/view?usp=sharing

i can't view it - requires access.

Can you try it again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants