Rocket.Chat
Rocket.Chat copied to clipboard
5.2.0 Has erratic jittering behaviour as new messages appear
Description:
After updating to 5.2.0 the chat will jitter and bounce around as it erratic refreshes whilst new messages appear. (See attached GIFs for examples)
Steps to reproduce:
- Have a similar setup to me?
- Update to 5.2.0
- Post messages in a chat channel or direct to a person
Expected behavior:
Messages appear without the erratic jittering bouncing around behavior
Actual behavior:
Chat bounces and jitters erratic whilst is refreshes a new message appearing:
Server Setup Information:
- Version of Rocket.Chat Server: 5.2.0
- Operating System: Centos 7.9/Docker
- Deployment Method: RC: Docker / Mongo: Centos7.9 passthrough
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: Whatever version is included in the official rocketchat docker image
- MongoDB Version: 5.0.6
Client Setup Information
- Desktop App or Browser Version: MacOS Chrome 106.0.5249.119
- Operating System: macOS Monterey 12.6
Additional context
I was able to immediately rollback to my previous server version of 5.1.2 and the problem went away again. As soon as I then re-upgrade to 5.2.0 the problem is immediately present.
Relevant logs:
Not sure there's anything relevant to show. GIFs show best what is occuring.
I've noticed that since 5.2.0 some chats are opened at the middle of chat history and continue loading and jittering at the same time. Don't know if it's possible to provide any debug info on this issue...
Ok I was able to reproduce this using the admin user in both 5.2 and 5.3-rc2. However...
I tried another user, and it didn't happened. Even created a new one, set avatar, and tried all sorts of things.
For the user with the jittering, looks like it renders the message as a unique, then renders it again to fit into the group of messages from the same user (I had to record it and play it in slow motion to conclude that).
Thanks for pointing it out!
I'm glad it's a reproducible bug and not some strange occurrence only on my hodge podge setup.
Ok I was able to reproduce this using the admin user in both 5.2 and 5.3-rc2. However...
I tried another user, and it didn't happened. Even created a new one, set avatar, and tried all sorts of things.
For the user with the jittering, looks like it renders the message as a unique, then renders it again to fit into the group of messages from the same user (I had to record it and play it in slow motion to conclude that).
Thanks for pointing it out!
Guess it's all about new and legacy parser. New parser looks much better here, old parser have that jittering.
@dudanogueira can you test that?
Ok I was able to reproduce this using the admin user in both 5.2 and 5.3-rc2. However... I tried another user, and it didn't happened. Even created a new one, set avatar, and tried all sorts of things. For the user with the jittering, looks like it renders the message as a unique, then renders it again to fit into the group of messages from the same user (I had to record it and play it in slow motion to conclude that). Thanks for pointing it out!
Guess it's all about new and legacy parser. New parser looks much better here, old parser have that jittering.
@dudanogueira can you test that?
I require legacy parser due to my company's deep seeded reliance in rendering Tables in certain team channels. That rendering feature is still bugged in the new parser :(
Guess it's all about new and legacy parser. New parser looks much better here, old parser have that jittering. @dudanogueira can you test that?
I require legacy parser due to my company's deep seeded reliance in rendering Tables in certain team channels. That rendering feature is still bugged in the new parser :(
Actually I stuck with old parser as you because of https://github.com/RocketChat/Rocket.Chat/issues/27065
this problem has a bad effect on the users experience, is there no temporary solution???
Same thing but:
- changing or disabling markdown parser has no effect
- message history completely reloads after new message or hitting reply button ul.messages-list keeps refreshing. Downgrading to 5.1.4 resolves this isse. 5.2 and 5.3 has described behaviour.
@terR0Q thanks We had to downgrading version 😔
@dudanogueira Hey, Duda! Looks like it is one of the most critical problem of recent 5.2.0 and 5.3.0 Can you highlight it to Front-End team?
Just upgraded to 5.3 and we are seeing the same behavior, it seems to be related to the legacy parser.
Just upgraded to 5.3 and we are seeing the same behavior, it seems to be related to the legacy parser.
I too upgraded to to 5.3 but thought it was gone. (Entirely forgetting I had disabled the legacy parser and I'm an idiot)
Re-enabled legacy parser and I too can confirm problem still exists in 5.3
How can legacy parser be disabled?
How can legacy parser be disabled?
Administration -> Settings -> Accounts-> Default User Preferences -> Use legacy message template (Disable the toggle)
Then hard refresh/reload cache your browser/chat app. The Awful super jitter refresh should go away, but you'll lose the ability to used markdown Tables and other such cool features.
Other than loosing useful markdown features this way seems pretty inconvinient as has to be performed under every user in a system. I'll leave it be with 5.1.4 for a couple of months with way you described as last resort. Thank you anyway!
Other than loosing useful markdown features this way seems pretty inconvinient as has to be performed under every user in a system. I'll leave it be with 5.1.4 for a couple of months with way you described as last resort. Thank you anyway!
By change the default user preference via Administration, it applies to all users. At least it did for my 30 or so users. They just had to hard refresh/invalidate cache their browser/chat app and it works.
Still not fixed in 5.3.2 ?
Still not fixed in 5.3.1. The changelog for 5.3.2 does not show anything that looks like it would solve the problem.
We're still using the old parser due to #26492/#26388 which is closed despite still being broken.
Still not fixed in 5.4.0. What is even the point. Someone from the Rocketchat team please address that this is still a known bug. :(
If i may ask to give this bug some priority - we are loosing user acceptance every day and this started with Version 5.2.0. So a lot of Days in between. Yes, disabling Legacy Mode might help for some but for us, with an intense use of Webhooks, it's more or less the same outcome just the problem is shifting. So one of the things would be really great, either fix the legacy mode so the "Jittering" stops or getting the actual message parser to a compatible state. (Hooks, UX)
If i may ask to give this bug some priority - we are loosing user acceptance every day and this started with Version 5.2.0.
I switched back to the old message parser yesterday to test a rendering issue reported by a user (half of our users are still on the old parser due to problems with the new parser), I noticed that in addition to the "jittering", new messages you send also appear VERY slowly. It takes at least a second before new messages appear at all, vs nearly instantly on the new parser. This was also not noticeable before 5.2.0.
I also can confirm that 5.4.0 made things much worse. Got many complaints after updating about bad performance and jumping texts and it took me forever to figure out it's got to do with the old parser. Fortunately, our initial issues with the new parser have been fixed (parsing of slashes) so we could switch, but no one is happy with RC anymore.
Someone test it on 6.0.0?