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

Threads timeline can be completely misordered. #26555

Open
ara4n opened this issue Nov 11, 2023 · 4 comments
Open

Threads timeline can be completely misordered. #26555

ara4n opened this issue Nov 11, 2023 · 4 comments
Labels
A-Threads A-Timeline O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect

Comments

@ara4n
Copy link
Member

ara4n commented Nov 11, 2023

Steps to reproduce

  1. Click on a long thread in the thread panel to read it. It loads the last N messages of the thread
  2. Switch room
  3. Switch back again
  4. The thread paginates in the previous N messages of the thread, but appends them rather than prepends them to the thread timeline - or something similarly whacky. As a result, you end up with the pages out of order for the thread. Switching thread and back again fixes it.

Outcome

What did you expect?

Reliable thread ordering.

What happened instead?

Some kind of race between thread-pagination and thread-load which means the old page loads before the new page.

I don't have logs, but will rageshake when it next happens, which is roughly 30% of the time when loading a long thread.

Operating system

No response

Application version

nightly

How did you install the app?

No response

Homeserver

No response

Will you send logs?

No

@ara4n ara4n added the T-Defect label Nov 11, 2023
@florianduros florianduros added S-Major Severely degrades major functionality or product features, with no satisfactory workaround A-Timeline A-Threads O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience labels Nov 20, 2023
@ara4n
Copy link
Member Author

ara4n commented Jan 27, 2024

i keep getting this, whenever i view a thread i haven't seen before by tapping on it in the main timeline when the timeline panel was closed. the root msg ends up in the middle of the thread; the newer messages are then above it and older msgs below it. so the order is something like 5,6,7,8,1,2,3,4.

@anoadragon453
Copy link
Member

anoadragon453 commented Feb 23, 2024

I've just seen this, after being linked to a message in a thread. I was fairly confused until I noticed the timestamps!

image

I've sent a rageshake.

@davidegirardi
Copy link

Same is happening to me in a thread. No way to fix it apparently. Happens both on Nightly and production. I rageshook.

@estux
Copy link

estux commented May 22, 2024

This bug drove away some people from Element in my team (back to WA), as it's still standing and hitting us (apparently) randomly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Threads A-Timeline O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect
Projects
None yet
Development

No branches or pull requests

5 participants