element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.12k stars 1.98k forks source link

Putting your machine to sleep can cause an "incompatible cache" warning when resuming #7905

Open turt2live opened 5 years ago

turt2live commented 5 years ago

It's possible I put my laptop to sleep before the incremental sync finished after having refreshed the page (I clicked 'update' on develop then shut the lid on the laptop).

image

lampholder commented 5 years ago

UGH.

That's super alarming, and reasonably likely to occur in the wild, but sounds like the sort of thing that could take quite a while to debug :/

jryans commented 5 years ago

I wonder if we can construct a way to trigger it more reliably...

turt2live commented 5 years ago

Apparently I'm an expert at doing so. Managed to hit it every day this week :p

Ftr, it's fine if you ignore the dialog and refresh. Might just need a check in the dialog to see if the app is actually corrupted?

turt2live commented 5 years ago

Easy reproduction steps:

Failing that: