Closed Bug 957790 Opened 12 years ago Closed 12 years ago

B2G: Settings app can be zoomed-in during startup

Categories

(Core :: Panning and Zooming, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29
blocking-b2g 1.3+
Tracking Status
firefox27 --- wontfix
firefox28 --- fixed
firefox29 --- fixed
b2g-v1.2 --- wontfix
b2g-v1.3 --- fixed
b2g-v1.4 --- fixed

People

(Reporter: gwagner, Assigned: kats)

References

Details

Attachments

(3 files, 1 obsolete file)

STR: Launch settings app During startup, zoom-in with 2 fingers Once the UI shows up, it will be zoomed in. Maybe 30% reproducible. Seen on gecko and gaia trunk with a debug gecko build on nexus 4.
blocking-b2g: --- → 1.3?
Blocks: gaia-apzc
My guess is this was reproduced with APZC turned on.
(In reply to Jason Smith [:jsmith] from comment #1) > My guess is this was reproduced with APZC turned on. Hm I thought it's enabled by default? I didn't do anything special.
Attached image 2014-01-08-16-41-54.png
(In reply to Gregor Wagner [:gwagner] from comment #2) > Hm I thought it's enabled by default? I didn't do anything special. It's enabled by default on developer builds. As of earlier tonight (bug 909877) it's also enabled by default on all builds.
Assignee: nobody → bugmail.mozilla
This was added in bug 915385, and was only ever enabled in bug 915771 for Firefox 26. We should be able to take it out now.
Attachment #8357793 - Flags: review?(jmathies)
The problem here is that we allow zooming before we get the first UpdateZoomConstraints call which disables it. It's better to initialize the zooming state to disabled, and then enable it once we get the UpdateZoomConstraints call. We should always get an UpdateZoomConstraints call either on creation or once we set the viewport in TabChild.
Attachment #8357795 - Flags: review?(botond)
Comment on attachment 8357795 [details] [diff] [review] Part 2 - Initialize the zoom constraints to disable zooming Review of attachment 8357795 [details] [diff] [review]: ----------------------------------------------------------------- Has this been tested on Metro? As far as I can tell, the only place Metro calls UpdateZoomConstraints is here [1], and it passes false there. [1] https://mxr.mozilla.org/mozilla-central/source/widget/windows/winrt/MetroWidget.cpp#1618
Comment on attachment 8357795 [details] [diff] [review] Part 2 - Initialize the zoom constraints to disable zooming Oh, that's a good point. I didn't test on Metro but it would probably break that.
Attachment #8357795 - Flags: review?(botond) → review-
Attachment #8357793 - Flags: review?(jmathies) → review+
Updated to ensure zooming is enabled by Metro.
Attachment #8357795 - Attachment is obsolete: true
Attachment #8357910 - Flags: review?(jmathies)
Attachment #8357910 - Flags: review?(botond)
Attachment #8357910 - Flags: review?(botond) → review+
Comment on attachment 8357910 [details] [diff] [review] Part 2 - Initialize the zoom constraints to disable zooming (v2) zoom is working as expected, the start page is non-zoomable, while content is.
Attachment #8357910 - Flags: review?(jmathies) → review+
Relanded with a fixes for the gtest failures: remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/8cb07bfc1390 remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/f7aeb3d7992b Just a couple of lines in TestAsyncPanZoomController that enable zooming in the Pinch and Overzoom tests.
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Needs to be uplifted.
blocking-b2g: 1.3? → 1.3+
This depends on bug 915985. Please post a branch-specific patch for uplift or get approval for that to land as well.
Depends on: 915985
Flags: needinfo?(bugmail.mozilla)
I've requested 1.3 approval for bug 915985 as well.
Flags: needinfo?(bugmail.mozilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: