element-hq / element-desktop

A glossy Matrix collaboration client for desktop.
https://element.io
GNU Affero General Public License v3.0
1.14k stars 261 forks source link

Scrolling back can cause looping. #1137

Closed Biep closed 1 year ago

Biep commented 1 year ago

Steps to reproduce

  1. Where are you starting? What can you see?

Typically, a room with a few hundred unread messages.

  1. What do you click?

I click the "back to the last read message" button at the top right.

  1. More steps…

As that does not work (see below), I may start scrolling back using the two-finger mousewheel imitation on my touchpad.

Outcome

What did you expect?

When clicking, to be brought back to the "green line" dividing read and unread messages. When scrolling back, to see the messages float by downwards, seeing ever older messages in the visible window.

What happened instead?

When clicking, the visible window clears, then some messages start to appear - and then the window clears again, messages start to appear again, and so on for a long time.

When scrolling, the messages seem to float down, and earlier messages appear - and then the visible window clears, and the same messages that ought to be way below the visible window appear again in it. I have not progressed (or rather, regressed) at all. This too can go on indefinitely.

Even when I stop and read, and the scroll back again, ever so gingerly, at some point suddenly the visible window will clear and Groundhog Day restarts.

Operating system

Ubuntu 22.04

Application version

1.11.37 (but this has happened in several earlier versions too.

How did you install the app?

From the repo. afbeelding

Homeserver

synod.im

Will you send logs?

Yes

t3chguy commented 1 year ago

Duplicate of https://github.com/vector-im/element-web/issues/23208