Closed
Bug 1318007
Opened 9 years ago
Closed 9 years ago
Can't zoom large PNG
Categories
(Core :: Graphics: ImageLib, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla53
| Tracking | Status | |
|---|---|---|
| firefox50 | --- | unaffected |
| firefox51 | --- | fixed |
| firefox52 | --- | fixed |
| firefox53 | --- | fixed |
People
(Reporter: afmenez, Assigned: milan)
References
()
Details
(Keywords: regression, Whiteboard: [gfx-noted])
Attachments
(1 file)
|
58 bytes,
text/x-review-board-request
|
aosmond
:
review+
gchang
:
approval-mozilla-aurora+
gchang
:
approval-mozilla-beta+
|
Details |
I can load the following image fine on released FFox 50, and when I zoom in it displays fine:
http://winapp2.com/dropbox/2016-11-14_151443.png
If I do this on today's Nightly (16/nov/16), it loads the image but hangs when I try to zoom in.
| Reporter | ||
Updated•9 years ago
|
Comment 1•9 years ago
|
||
This was caused by part 2 of bug 1299164, specifically:
http://searchfox.org/mozilla-central/diff/e13a243ec156ea7d1b07920dc38f7d7c92989909/gfx/2d/Factory.cpp#812
Blocks: 1299164
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → milan
Priority: -- → P3
Whiteboard: [gfx-noted]
Version: 53 Branch → 51 Branch
| Assignee | ||
Comment 2•9 years ago
|
||
I'm thinking that after bug 1224254 (which makes ~500M the maximum allocation size), we can increase the limit on each dimension; perhaps even remove it? I understand pixman has issues with > 32k when printing.
A 500M allocation size would let us have approximately a 32k x 4k image - it seems that allowing 128k x 1k should not be much worse, except for the short overflow, so it shouldn't be done lightly.
| Assignee | ||
Updated•9 years ago
|
| Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(milan)
Updated•9 years ago
|
status-firefox50:
--- → unaffected
| Comment hidden (mozreview-request) |
Comment 4•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8812828 [details]
Bug 1318007: When the surface is already allocated, just check for non-positive dimensions.
https://reviewboard.mozilla.org/r/94416/#review94646
Attachment #8812828 -
Flags: review?(aosmond) → review+
Pushed by msreckovic@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/86f37704bbf8
When the surface is already allocated, just check for non-positive dimensions. r=aosmond
| Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8812828 [details]
Bug 1318007: When the surface is already allocated, just check for non-positive dimensions.
Approval Request Comment
[Feature/regressing bug #]: bug 1299164 (in 51)
[User impact if declined]: Large images (>32k in one dimension) are not drawn
[Describe test coverage new/current, TreeHerder]: There may be more tests in bug 591822
[Risks and why]:
[String/UUID change made/needed]:
This is a partial revert of the patch in bug 1299164 that regressed this.
Flags: needinfo?(milan)
Attachment #8812828 -
Flags: approval-mozilla-beta?
Attachment #8812828 -
Flags: approval-mozilla-aurora?
Comment 7•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Comment 8•9 years ago
|
||
Comment on attachment 8812828 [details]
Bug 1318007: When the surface is already allocated, just check for non-positive dimensions.
Fix a large PNG zooming issue. Beta51+ and Aurora52+. Should be in 51 beta 3.
Attachment #8812828 -
Flags: approval-mozilla-beta?
Attachment #8812828 -
Flags: approval-mozilla-beta+
Attachment #8812828 -
Flags: approval-mozilla-aurora?
Attachment #8812828 -
Flags: approval-mozilla-aurora+
Comment 9•9 years ago
|
||
| bugherder uplift | ||
Comment 10•9 years ago
|
||
| bugherder uplift | ||
Updated•7 years ago
|
Flags: in-qa-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•