element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
Apache License 2.0
10.69k stars 1.88k forks source link

Exporting keys on EDR is painful. #27419

Open ara4n opened 2 weeks ago

ara4n commented 2 weeks ago

Steps to reproduce

  1. Went to export megolm keys on EDR
  2. After hitting the export button, the app spun 10 cores of CPU at 100% for 1 hour before saving (310MB) of keys
  3. During this:
    • i was able to edit the contents of the export dialogue (i.e. change the passphrase, and keep hitting export), which made me wonder if i'd actually hit export in the first place
    • the console logged progress, which wasn't reflected anywhere in the dialog
    • i gave up after about 30m and cancelled the dialog, but it didn't actually stop the export, which eventually coughed up the prompt to save the resulting file.

Outcome

What did you expect?

Operating system

No response

Application version

nightly

How did you install the app?

No response

Homeserver

No response

Will you send logs?

No

t3chguy commented 2 weeks ago

This looks like the closed issue https://github.com/element-hq/element-web/issues/26681

ara4n commented 2 weeks ago

not really - on #26681 it failed to export.

Whereas here is does successfully export (if you wait an hour). But the UX has a tonne of other problems.

t3chguy commented 2 weeks ago

@ara4n the issue comments discuss whether to add a progress bar and claim that it worked quickly enough for you such that a progress bar is not needed

ara4n commented 2 weeks ago

i can believe there's overlap in the comments :) eitherway, let's use this one, given it's open

https://github.com/element-hq/element-web/issues/24894 is related (but not the same) ftr