cinnyapp / cinny-desktop

Yet another matrix client for desktop
GNU Affero General Public License v3.0
382 stars 41 forks source link

Frequent freezes when app does initial sync #212

Open omentic opened 1 year ago

omentic commented 1 year ago

Describe the bug

Cinny consistently locks up for 1-5 seconds when the app does its initial sync every time I open it, after leaving it closed for about a day or so.

This is a consistent problem across all Matrix clients and I'm not sure if it's a problem with the protocol or the implementations themselves. I'm also not sure what the current sync code looks like: but I would suggest either doing the sync in a background thread if possible, providing a loading indicator ("sync progress" bar or something at the top of the screen) so that the user isn't confused that it's entirely old messages

Reproduction

Create a Matrix account, join many rooms (I am probably in ~50), and open Cinny after leaving it for a day or so on a not-perfect WiFi connection.

Expected behavior

No response

Platform and versions

1. Arch Linux 6.3.1
2. Cinny Desktop 2.2.6
3. envs.net

Additional context

No response

omentic commented 1 year ago

This same UI lockup also occurs when clicking any room that hasn't been loaded yet, usually for between ~5-10 seconds.