[bug] Uploading animated webp leading to total FE destruction #322

Open
opened 2023-07-08 03:29:38 +00:00 by chesapeake · 1 comment

Version

2023.05 e530c2b

What were you trying to do?

I was trying to make a silly post with a funny animated image in it. The image happened to be a .webp file (as it was stolen from Tumblr).

Here is a copy of the image in question, in case that helps with narrowing things down:

the image that crashed things

What did you expect to happen?

The image to upload and show as normal, so I could add a description and post it.

What actually happened?

The post button stops being greyed out, as if the file was uploaded, but no image preview is shown like normal. Upon trying to post or upload a different file, either nothing happens or an error appears. Upon reloading the page, it is completely blank, as if the Javascript isn't running at all.

Clearing cache/cookies fixes the problem, at least until you try and upload the file again, where it will happen again. Converting the image to another format avoids it entirely.

A screen recording of this happening is attached.

Severity

I cannot use it as easily as I'd like

Have you searched for this issue?

  • I have double-checked and have not found this issue mentioned anywhere.
### Version 2023.05 e530c2b ### What were you trying to do? I was trying to make a silly post with a funny animated image in it. The image happened to be a .webp file (as it was stolen from Tumblr). Here is a copy of the image in question, in case that helps with narrowing things down: ![the image that crashed things](https://akkoma.dev/attachments/d8e29413-efb6-4f6c-926c-47dd4eb46cfb) ### What did you expect to happen? The image to upload and show as normal, so I could add a description and post it. ### What actually happened? The post button stops being greyed out, as if the file was uploaded, but no image preview is shown like normal. Upon trying to post or upload a different file, either nothing happens or an error appears. Upon reloading the page, it is completely blank, as if the Javascript isn't running at all. Clearing cache/cookies fixes the problem, at least until you try and upload the file again, where it will happen again. Converting the image to another format avoids it entirely. A screen recording of this happening is attached. ### Severity I cannot use it as easily as I'd like ### Have you searched for this issue? - [x] I have double-checked and have not found this issue mentioned anywhere.
Contributor

I can normally post your cursed.webp on my instance. ref
I'm using Firefox on macOS.

Did you open devtools during your reproduce?
Is there any error in devtools console / network?

I can normally post your `cursed.webp` on my instance. [ref](https://miraiverse.xyz/notice/AXVdpDFCd317piDJMe) I'm using Firefox on macOS. Did you open devtools during your reproduce? Is there any error in devtools console / network?
Mergan added the
Bug
label 2023-07-17 19:10:13 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma-fe#322
No description provided.