element-web icon indicating copy to clipboard operation
element-web copied to clipboard

On bad connectivity, uploading an image in an E2EE room will block. On cancelling the upload, the modal still appears (minutes later)

Open ara4n opened this issue 3 years ago • 0 comments

Steps to reproduce

  1. Simulate a bad network
  2. In an e2ee room send some normal messages, which will probably stack up as we try to do e2ee with the server
  3. Send an image
  4. Watch an infinite fullscreen modal spinner; the thumbnail doesn't even appear (which is weird, as it shouldn't need to talk to the server to calculate a thumbnail)
  5. Click in the background of the modal to cancel it
  6. Move on with your life
  7. Be very confused when ~30s later the thumbnail upload still suddenly pops up... even if you're now in an entirely different room.

Outcome

What did you expect?

You should be able to queue up images to be sent even when on bad connectivity. They certainly shouldn't pop up unexpectedly later.

What happened instead?

Much flakiness.

Operating system

macOS 12.3.1 on M1

Application version

nightly

How did you install the app?

nightly

Homeserver

matrix.org

Will you send logs?

No

ara4n avatar Aug 04 '22 17:08 ara4n