Scrolling a chat with (relatively) lots of unread messages is jolting / not smooth (#480)
Open
wojciech.kapcia@tigase.net opened 2 years ago

https://files.rpi.unir.se/f/19c913cd2c5b4d329511/

It looks like it's caused by post-processing of some messages (edition?) and loading images. Once the view has been scrolled to the bottom then scrolling up and down is smooth and consistent. Unfortunately this jolting scrolling makes reading somewhat more difficult.

Andrzej Wójcik (Tigase) commented 2 years ago

It is hard to tell what exactly is happening here. I think that "longer" messages may need to be redrawn causing the layout to be changed (changed item size) but that is done by macOS under the hood so I cannot fix that, however, it may be also caused by sending "chat markers" to self to mark messages that were read (syncing read status between clients), but that shouldn't take so long.

wojciech.kapcia@tigase.net commented 2 years ago

Could we maybe pre-render all the unread messages upon opening particular chat? Going all the way down and then back to the "Unread messages" maker kinda fixes the issue and one can read the thread/messages without any jumping/jolting.

Andrzej Wójcik (Tigase) commented 2 years ago

I do not think we can, as prerendering is done by macOS when required. It is possible to prerender everything, but as it is time and CPU intensive it is disabled by default. I've tried to do that some time ago and it made Beagle basically useless due to the time required to open the chat.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Issue Votes (0)
Watchers (0)
Reference
tigase/_clients/beagle-im#480
Please wait...
Page is in error, reload to recover