Closed
Bug 1277719
Opened 9 years ago
Closed 9 years ago
Maximum image zoom level seems more restricted than before
Categories
(Firefox for Android Graveyard :: Toolbar, defect)
Tracking
(firefox46 unaffected, firefox47 unaffected, firefox48 verified, firefox49 verified)
VERIFIED
FIXED
Firefox 49
| Tracking | Status | |
|---|---|---|
| firefox46 | --- | unaffected |
| firefox47 | --- | unaffected |
| firefox48 | --- | verified |
| firefox49 | --- | verified |
People
(Reporter: JanH, Assigned: kats)
References
()
Details
(Keywords: regression)
Attachments
(3 files)
|
131.92 KB,
image/png
|
Details | |
|
168.58 KB,
image/png
|
Details | |
|
58 bytes,
text/x-review-board-request
|
rbarker
:
review+
gchang
:
approval-mozilla-beta+
|
Details |
Viewing an image, I can no longer zoom in as much as I used to. This currently affects Nightly and Aurora, so can I blame APZ?
| Reporter | ||
Comment 1•9 years ago
|
||
| Reporter | ||
Comment 2•9 years ago
|
||
| Reporter | ||
Updated•9 years ago
|
status-firefox46:
--- → unaffected
status-firefox47:
--- → unaffected
status-firefox48:
--- → affected
status-firefox49:
--- → affected
| Assignee | ||
Comment 3•9 years ago
|
||
Yeah, probably APZ-related. There's a MAX_ZOOM const in AsyncPanZoomController.cpp which is probably what's clamping it here. We could try bumping that up and see if it helps.
Blocks: fennec-aboard-apz
Keywords: regression
| Assignee | ||
Comment 4•9 years ago
|
||
Yeah, cranking that MAX_ZOOM up to 16.0 allows zooming in to the same level as the Java PZC. I think the kViewportMaxScale at [1] becomes the next limiting factor, which is fine. So if we put the MAX_ZOOM at 10.0 it should fix this bug without introducing unnecessary zoom power. And since Fennec is currently the only platform that supports pinch-zooming in APZ we might as well just make the change.
[1] http://mxr.mozilla.org/mozilla-central/source/dom/base/nsViewportInfo.h?rev=37d64688bf9d#16
Assignee: nobody → bugmail.mozilla
| Assignee | ||
Comment 5•9 years ago
|
||
Actually we do need it to go all the way to 16.0, the kViewportMaxScale is in different units.
| Assignee | ||
Comment 6•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/57666/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/57666/
Attachment #8759788 -
Flags: review?(rbarker)
Comment 7•9 years ago
|
||
Comment on attachment 8759788 [details]
Bug 1277719 - Remove unnecessary duplicated zoom bounds from APZC and make nsViewportInfo have the source of truth for those values.
https://reviewboard.mozilla.org/r/57666/#review54504
Attachment #8759788 -
Flags: review?(rbarker) → review+
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6e84b5b95e3a
Remove unnecessary duplicated zoom bounds from APZC and make nsViewportInfo have the source of truth for those values. r=rbarker
Comment 9•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
Comment 10•9 years ago
|
||
Verified as fixed in build 49.0a2 (2016-06-15);
Device:
- Asus ZenPad 8 (Android 5.0.2);
- Nexus 5 (Android 6.0.1).
| Assignee | ||
Comment 11•9 years ago
|
||
Comment on attachment 8759788 [details]
Bug 1277719 - Remove unnecessary duplicated zoom bounds from APZC and make nsViewportInfo have the source of truth for those values.
Approval Request Comment
[Feature/regressing bug #]: APZ
[User impact if declined]: User is unable to zoom in on imageas as much as they could before
[Describe test coverage new/current, TreeHerder]: verified manually
[Risks and why]: fairly low risk, small change
[String/UUID change made/needed]: none
Attachment #8759788 -
Flags: approval-mozilla-beta?
Comment 12•9 years ago
|
||
Comment on attachment 8759788 [details]
Bug 1277719 - Remove unnecessary duplicated zoom bounds from APZC and make nsViewportInfo have the source of truth for those values.
This patch fixes the regression. Take it in 48 beta 3.
Attachment #8759788 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 13•9 years ago
|
||
| bugherder uplift | ||
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•