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

SSS: timeline resets on receiving every message?

Open ara4n opened this issue 1 year ago • 6 comments

Steps to reproduce

  1. Enable SSS
  2. Send yourself a message
  3. Observe it takes ~30s to arrive
  4. When it does, the timeline resets, leaving partial contents visible afterwards.

Outcome

What did you expect?

Rapid receipt, and no weird timeline resets

Your phone model

No response

Operating system version

No response

Application version

662

Homeserver

No response

Will you send logs?

Yes

ara4n avatar Jul 25 '24 17:07 ara4n

have split bullet 3 into https://github.com/element-hq/element-x-ios/issues/3092

ara4n avatar Jul 26 '24 10:07 ara4n

this also happens whenever you send

ara4n avatar Jul 26 '24 11:07 ara4n

this looks to be much improved now. although i wonder if there are still scenarios where it happens, if not on every msg

ara4n avatar Aug 04 '24 13:08 ara4n

can it be related to crypto device issues? Not that enabling SSS forces a logout, we should not have this issue anymore.

manuroe avatar Aug 05 '24 08:08 manuroe

cc https://github.com/matrix-org/matrix-rust-sdk/issues/3647

Hywan avatar Aug 14 '24 08:08 Hywan

erik says this will happen when the server restarts, but the code doesn't exist in synapse yet to expire sessions after N minutes or X backlogged events. so it should still be very rare. @hywan sees it more often though.

ara4n avatar Aug 14 '24 09:08 ara4n

I consider the problem is solved since it didn't happen since a long time. Moreover, with the persistent storage in the event cache, the timeline is not more reset. I'm closing this issue, but feel free to re-open if you consider the problem is still present.

Hywan avatar Jan 08 '25 18:01 Hywan