Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloading image via full screen toolbar fails with JSON M_NOTFOUND #28018

Closed
krachynski opened this issue Sep 5, 2024 · 6 comments · Fixed by #28379
Closed

Downloading image via full screen toolbar fails with JSON M_NOTFOUND #28018

krachynski opened this issue Sep 5, 2024 · 6 comments · Fixed by #28379
Assignees
Labels
A-Media O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect

Comments

@krachynski
Copy link

Steps to reproduce

  1. In any room click on an image
  2. See the full page display with the control toolbar
  3. 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

@dosubot dosubot bot added A-Media O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround labels Sep 5, 2024
@turt2live
Copy link
Member

triager: this is distinct from #28011 because media is loading, but the download button specifically fails.

@Krishcode264
Copy link

is it browser related issue ? it works well in brave and chrome

@ledlamp
Copy link

ledlamp commented Sep 18, 2024

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.

@kegsay
Copy link
Contributor

kegsay commented Oct 10, 2024

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.

@freelock
Copy link

freelock commented Nov 2, 2024

Also getting this....

@ledlamp
Copy link

ledlamp commented Nov 2, 2024

Oh, that is right.

This button works fine:
image

This one does not:
image

image

Element version 1.11.83 Chrome 130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Media O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants