element-x-ios icon indicating copy to clipboard operation
element-x-ios copied to clipboard

Timeline fails to load scrollback

Open ara4n opened this issue 2 years ago • 2 comments

Steps to reproduce

  1. Open a room (typically from a push)
  2. See a few messages, but for whatever reason the rest of the timeline doesn't try to load, about 10% of the time. e.g;

image

Outcome

What did you expect?

Reliable timeline

What happened instead?

Flakey timeline

Your phone model

No response

Operating system version

No response

Application version

463

Homeserver

No response

Will you send logs?

Yes

ara4n avatar Dec 17 '23 13:12 ara4n

Is that DM's ID hOJSbzUSrnKFyGnJFi? If so it seems that the app is doing the right thing but not getting back anywhere near the amount of events it needs. Does anything happen if you scroll the timeline around, does it go try to load more pages?

2023-12-14T19:45:35.262564Z  INFO elementx: [AppCoordinator] tappedNotification | AppCoordinator.swift:248 | spans: root

2023-12-14T19:45:35.342253Z  INFO elementx: Transitioning from `room(roomID: "!hOJSbzUSrnKFyGnJFi:matrix.org")` to `room(roomID: "!XVKYyuOlHAkBBDUIEn:matrix.org")` with event `presentRoom(roomID: "!XVKYyuOlHAkBBDUIEn:matrix.org")` | RoomFlowCoordinator.swift:330 | spans: root

2023-12-14T19:45:36.065051Z  INFO elementx: Started back pagination request | RoomTimelineController.swift:73 | spans: root

2023-12-14T19:45:37.813755Z  INFO elementx: Finished back pagination request | RoomTimelineController.swift:76 | spans: root

stefanceriu avatar Dec 18 '23 08:12 stefanceriu

from memory, if you try to scroll the timeline it doesn't load history. but if you go out & in again it fixes itself.

see also https://github.com/element-hq/element-x-ios/issues/2336 (which combines this bug with messages taking forever to load)

ara4n avatar Jan 21 '24 16:01 ara4n

We should not have this issue anymore.

manuroe avatar Jul 04 '24 12:07 manuroe