Closed Bug 1226320 Opened 9 years ago Closed 9 years ago

Can't zoom in some cases with native APZ

Categories

(Firefox for Android Graveyard :: Toolbar, defect)

defect
Not set
normal

Tracking

(firefox45 fixed)

RESOLVED FIXED
Firefox 45
Tracking Status
firefox45 --- fixed

People

(Reporter: snorp, Assigned: snorp)

References

Details

Attachments

(2 files)

With native APZ turned on, I'm unable to zoom after the following: 1) Open Fennec, navigate to nytimes.com 2) Ater load, open https://bluemarvin.github.io/html/iframe.html via adb I can't zoom iframe.html, when I should in fact be able to.
Assignee: nobody → snorp
Comment on attachment 8689686 [details] [diff] [review] Fix some bustage from refactoring APZ tree traversal Review of attachment 8689686 [details] [diff] [review]: ----------------------------------------------------------------- LGTM, but Botond should probably be the one to review it.
Attachment #8689686 - Flags: review?(bugmail.mozilla) → review?(botond)
Comment on attachment 8689686 [details] [diff] [review] Fix some bustage from refactoring APZ tree traversal Review of attachment 8689686 [details] [diff] [review]: ----------------------------------------------------------------- Yeah, this part of the refactoring didn't preserve the semantics perfectly. My bad for not catching that during review! However, this patch doesn't quite restore the original semantics, either. - Before the refactor, we would do the "is primary holder" check on every node, and the "skip the subtree" check on every node except the starting node. - The refactor changed it so we call the "skip the subtree" check on the starting node, too, and since we do that before the "is primary holder" check, we can end up skipping the entire subtree of the starting node, which is not desirable. - This patch changes it so that we do an extra "is primary holder" check on the starting node, but we still do t he "skip the subtree" check afterward so it can still fire. I believe the correct solution here it to omit the "skip the subtree" check for the starting node. I can submit a patch that does this.
Attachment #8689686 - Flags: review?(botond) → review-
Bug 1226320 - Fix a refactoring in APZCTreeManager that didn't preserve semantics correctly. r=kats
Attachment #8689699 - Flags: review?(bugmail.mozilla)
Attachment #8689699 - Flags: review?(bugmail.mozilla) → review+
Comment on attachment 8689699 [details] MozReview Request: Bug 1226320 - Fix a refactoring in APZCTreeManager that didn't preserve semantics correctly. r=kats https://reviewboard.mozilla.org/r/25693/#review23133
Blocks: 1199798
No longer depends on: 1199798
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: