element-hq / element-x-ios

Next generation Matrix client for iOS built with SwiftUI on top of matrix-rust-sdk.
https://element.io/labs/element-x
GNU Affero General Public License v3.0
393 stars 87 forks source link

Local roomlist sorting causes a spasm of sorting whenever you open the app. #3009

Open ara4n opened 2 months ago

ara4n commented 2 months ago

Steps to reproduce

  1. Open the app for the first time in a bit (perhaps after the SS session has expired?)
  2. Watch as it syncs
  3. See that after the syncing spinner goes away, it incrementally refreshes the roomlist very rapidly as it reorders it, over the course of about 100ms, causing a manic spasm of reordering which is ugly, feels flakey and unpredictable, and is a regression from the previous behaviour.

Outcome

What did you expect?

Once synced, the visible roomlist should reorder atomically to the new ordering, giving a sense of stability and control, rather than doing a frenetic animation of intermediary state.

Your phone model

No response

Operating system version

No response

Application version

642

Homeserver

No response

Will you send logs?

Yes

ara4n commented 2 months ago

this has improved in build 644, but still happens to some extent