Clicking on the jump to unreads button throws a `Failed to load timeline position` error and dumps me in a blank timeline
See original GitHub issueClicking on the jump to unreads button throws a Failed to load timeline position
error and dumps me in a blank timeline
Related to:
- https://github.com/vector-im/element-web/issues/20397
- https://github.com/vector-im/element-web/issues/4257
Steps to reproduce
-
Visit a room
-
Click the “Jump to first unread message.”
^
up-arrow -
Failed to load timeline position
error modal is thrown upFailed to load timeline position
Tried to load a specific point in this room’s timeline, but was unable to find it.
-
After exiting out of the modal, the timeline is blank and no way to scroll
-
Have to switch rooms to get the timeline again
Reproduction/rage-shake logs: https://github.com/matrix-org/element-web-rageshakes/issues/10392
I was in the !ltpmbfSHehPTwnLDNS:jki.re
room and clicked on the “Jump to first unread message.” arrow and got the Failed to load timeline position
error modal. With the following error in the devtools console.
Relevant code for the error: src/components/structures/TimelinePanel.tsx#L1219-L1244
Error loading timeline panel at $iR-8DJRGNhmIpDFDHmRy70gUTurU77eCba-Jt5YIXbo: Error: getEventTimeline result didn't include requested event
overrideMethod @ react_devtools_backend.js:4061
consoleObj.<computed> @ rageshake.ts:65
(anonymous) @ instrument.js:111
(anonymous) @ logger.ts:50
onError @ TimelinePanel.tsx:1181
Promise.then (async)
loadTimeline @ TimelinePanel.tsx:1243
(anonymous) @ TimelinePanel.tsx:1003
(anonymous) @ RoomView.tsx:1659
...
I’m not sure what room the $iR-8DJRGNhmIpDFDHmRy70gUTurU77eCba-Jt5YIXbo
event pertains to. Is there a way to look it up and tell which room it actually belongs to?
Outcome
What did you expect?
Jump to first unread button jumps me to whatever the unreads are for that room. Or not be shown if it was for another room and this room doesn’t have any unreads.
What happened instead?
Error modal is shown for a situation that probably shouldn’t occur in the first place.
Operating system
Windows 10
Browser information
Chrome 97.0.4692.99
URL for webapp
Application version
Element version: 64242a004eb7-react-78e78292cb62-js-b07457726bf5 Olm version: 3.2.8
Homeserver
matrix.org
Will you send logs?
Yes ->
- Reproduction from @MadLittleMods, https://github.com/matrix-org/element-web-rageshakes/issues/10392
- Reproduction from @MadLittleMods, https://github.com/matrix-org/element-web-rageshakes/issues/10919
- Reproduction from @MadLittleMods, https://github.com/matrix-org/element-web-rageshakes/issues/10920
- Reproduction from @MadLittleMods, https://github.com/matrix-org/element-web-rageshakes/issues/11235
- Reproduction from @MadLittleMods, https://github.com/matrix-org/element-web-rageshakes/issues/12429
- Reproduction from @davidmehren, https://github.com/matrix-org/element-web-rageshakes/issues/10677
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:5 (2 by maintainers)
Top GitHub Comments
This just happened to me (rageshake-sent the logs), but interestingly, clicking out of the room, back into the room and then clicking the “jump to first unread message” button worked fine on the second try, even though the unread-messages count had reset to 0. Strange.
I just experienced this issue on Desktop Nightly and rageshaked, I think @thegcat also encountered it recently.