Closed Bug 1338913 Opened 7 years ago Closed 7 years ago

MJPEG zoom is reset on every new frame

Categories

(Core :: Graphics: ImageLib, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla54
Tracking Status
firefox-esr45 --- wontfix
firefox-esr52 --- wontfix
firefox53 --- wontfix
firefox54 --- verified

People

(Reporter: bugzilla.mozilla.org-6h11, Assigned: tnikkel)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:51.0) Gecko/20100101 Firefox/51.0
Build ID: 20170125094131

Steps to reproduce:

1. Open MJPEG stream
2. Make window small enough so the mouse cursor shows a lens symbol with a plus sign on the image/stream
3. Click on the image/stream


Actual results:

1. Image is enlarged
2. The next frame resets the image size


Expected results:

1. Image is enlarged
2. Next frame keeps the size
Happens with nightly Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0. Full page zoom (Ctrl + mouse wheel) is not affected.
Could you provide alink to a MJPEG stream to test?
Flags: needinfo?(bugzilla.mozilla.org-6h11)
Component: Untriaged → ImageLib
Product: Firefox → Core
You can find some here: https://www.google.com/search?q=filetype:mjpg&start=10
Flags: needinfo?(bugzilla.mozilla.org-6h11)
Attached patch patchSplinter Review
Multipart images send size available for each part (even though it's the same size).

Feel free to re-assign this review if you know someone who can take it.
Assignee: nobody → tnikkel
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #8836893 - Flags: review?(bzbarsky)
Comment on attachment 8836893 [details] [diff] [review]
patch

r=me with the ',' replaced by ';'.
Attachment #8836893 - Flags: review?(bzbarsky) → review+
Pushed by tnikkel@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8fbd8bc77e6f
Don't reset the zoom when viewing a multipart image standalone in an image document. r=bz
https://hg.mozilla.org/mozilla-central/rev/8fbd8bc77e6f
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Flags: qe-verify+
I've reproduced the bug using STR from comment 0 and comment 3.

This is verified fixed on 54 beta 1 (20170420081804) across platforms: Windows 10 x64, Ubuntu 16.04 x64 LTS and Mac OS X 10.11.6.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: