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)
Tracking
()
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.
| Reporter | ||
Comment 1•8 years ago
|
||
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0
Comment 2•8 years ago
|
||
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
status-firefox55:
--- → affected
Ever confirmed: true
Comment 3•8 years ago
|
||
At least, copying image and pasteting works on Firefox51, but not on Firefox51.
Keywords: regression
Comment 4•8 years ago
|
||
(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?
Comment 5•8 years ago
|
||
(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.
Comment 6•8 years ago
|
||
Weird, copying the image worked for me with current nightly on OS X.
Updated•8 years ago
|
status-firefox53:
--- → affected
status-firefox54:
--- → affected
Comment 7•8 years ago
|
||
I have filed a new separate Bug 1368464 about Copy/Paste mJPEG problem.
Updated•8 years ago
|
Whiteboard: [Copy&Paste probrem see Bug 1368464]
Updated•8 years ago
|
Whiteboard: [Copy&Paste probrem see Bug 1368464] → [Copy&Paste probrem see Bug 1368464][gfx-note]
Updated•8 years ago
|
Whiteboard: [Copy&Paste probrem see Bug 1368464][gfx-note] → [Copy&Paste probrem see Bug 1368464][gfx-noted]
Updated•8 years ago
|
Comment 8•8 years ago
|
||
Too late for 54. Mark 54 won't fix.
Updated•8 years ago
|
Priority: -- → P3
Updated•8 years ago
|
status-firefox56:
--- → wontfix
status-firefox57:
--- → wontfix
Comment 9•4 years ago
|
||
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.
Description
•