Closed Bug 1368288 Opened 8 years ago Closed 4 years ago

MJPEG (multipart/x-mixed-replace): Can't save image as or copy to clipboard

Categories

(Core :: Graphics: ImageLib, defect, P3)

53 Branch
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox53 --- wontfix
firefox54 --- wontfix
firefox55 --- wontfix
firefox56 --- wontfix
firefox57 --- wontfix

People

(Reporter: jb+mozbugzilla, Unassigned)

References

Details

(Keywords: crash, hang, regression, Whiteboard: [Copy&Paste probrem see Bug 1368464][gfx-noted])

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.114 Safari/537.36 Vivaldi/1.10.845.3 Steps to reproduce: Visit any page that contains a MJPEG image stream. Example: http://www.northeastern.edu/webcams/foodcourt.html Now, <right-clicking/save as> or <right-clicking/copy> SHOULD do the actions intended. Actual results: Saving the image to disk somehow triggers the download manager without a download manager widget popping up or indicating its activity. However, exiting FF would pop up a confirmation dialog "Download in progress", while the MJPEG stream is written — which can nicely be inspected in Notepad2 under Windows or `less`on Linux: The file keeps on growing as the stream images come in, nice and raw as they are including the MIME headers separating the single JPEGs inside. (Side effect: On heavy streams, not so experienced users can easily fill their system disk…without even knowing. What a nice prank for a Monday morning!) Copying does actually copy something, but apparently something zero-ish that's not an image. If you have Telegram Desktop installed and try to paste the "copied" image, Telegram will complain about the nothingness to paste. Other apps just do nothing, alas there's no usable image inside the clipboard. Expected results: Expect current JPEG image to get saved to disk as self-contained jolly JPEG file. Expect current JPEG image to get copied to clipboard, ready to paste anywhere possible.
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0
I can reproduce the problem on Win10 Nightly55. "Save Image" : downloading continues forever until canceling the download. "Copy Image" : downloading continues forever even if the tab closed. And after paste on Wordpad, the wordpad becomes hung up. And browser crashes bp-4d9c30ed-537d-4b7c-b606-491730170528 on browser shutdown.
Severity: normal → critical
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: crash, hang
At least, copying image and pasteting works on Firefox51, but not on Firefox51.
Keywords: regression
(In reply to Alice0775 White from comment #3) > At least, copying image and pasteting works on Firefox51, but not on > Firefox51. Which version did it work in?
(In reply to Timothy Nikkel (:tnikkel) from comment #4) > (In reply to Alice0775 White from comment #3) > > At least, copying image and pasteting works on Firefox51, but not on > > Firefox51. > > Which version did it work in? oops copying image and pasting works on Firefox50, but not on Firefox51.
Weird, copying the image worked for me with current nightly on OS X.
Blocks: 1368464
I have filed a new separate Bug 1368464 about Copy/Paste mJPEG problem.
Whiteboard: [Copy&Paste probrem see Bug 1368464]
Whiteboard: [Copy&Paste probrem see Bug 1368464] → [Copy&Paste probrem see Bug 1368464][gfx-note]
Whiteboard: [Copy&Paste probrem see Bug 1368464][gfx-note] → [Copy&Paste probrem see Bug 1368464][gfx-noted]
Too late for 54. Mark 54 won't fix.

Following the reporter's steps I am able to confirm that the issues doesn't happen anymore on Windows 10x64, Ubuntu 20.04 and MacOS 10.15 on any of the current versions of Firefox Nightly 87.0a1 (2021-02-11), beta 86.0b9 and release 85.0.2. The image can be copied and pasted where available and saved as well.

Closing this issue as Resolved > Worksforme.
Feel free to re-open or file a new bug if this issue reoccurs again.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.