Timeline fails to load scrollback
Steps to reproduce
- Open a room (typically from a push)
- 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;
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
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
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)
We should not have this issue anymore.