Downloading image via full screen toolbar fails with JSON M_NOTFOUND
Steps to reproduce
- In any room click on an image
- See the full page display with the control toolbar
- Click on download on the toolbar
Outcome
What did you expect?
I expected the image to download.
What happened instead?
A new tab was opened up with a JSON response.
{"errcode":"M_NOT_FOUND","error":"Not found"}
Operating system
Windows 11
Browser information
Firefox 130
URL for webapp
app.element.io
Application version
Element version: 1.11.76 Crypto version: Rust SDK 0.7.1 (c8c9d15), Vodozemac 0.6.0
Homeserver
matrix.org
Will you send logs?
Yes
triager: this is distinct from https://github.com/element-hq/element-web/issues/28011 because media is loading, but the download button specifically fails.
is it browser related issue ? it works well in brave and chrome
It happens in unencrypted rooms on servers with authenticated media enabled like matrix.org. happens on chrome, 128.0.6613.138, firefox 130.0, element 1.11.77. Two people I asked to test, using app.element.io and matrix.org, also have the issue. It started happening on my own server too when I enabled authenticated media, so I had to turn it back off. It makes it impossible to save images, as even right-clicking and saving the image fails or gives a json file.
Does not affect encrypted rooms where the images are blobs and don't have URLs.
Just hit this in an unencrypted room, when it opens in Firefox. You can get around this on Element Desktop by clicking the download button when you hover over the image confusingly, I guess the code paths are different.
Also getting this....
Oh, that is right.
This button works fine:
This one does not:
Element version 1.11.83 Chrome 130