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)
Tracking
()
People
(Reporter: gwagner, Assigned: kats)
References
Details
Attachments
(3 files, 1 obsolete file)
|
29.49 KB,
image/png
|
Details | |
|
3.82 KB,
patch
|
jimm
:
review+
|
Details | Diff | Splinter Review |
|
4.81 KB,
patch
|
jimm
:
review+
botond
:
review+
|
Details | Diff | Splinter Review |
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.
| Reporter | ||
Updated•12 years ago
|
blocking-b2g: --- → 1.3?
Comment 1•12 years ago
|
||
My guess is this was reproduced with APZC turned on.
| Reporter | ||
Comment 2•12 years ago
|
||
(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.
| Reporter | ||
Comment 3•12 years ago
|
||
| Assignee | ||
Comment 4•12 years ago
|
||
(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 | ||
Updated•12 years ago
|
Assignee: nobody → bugmail.mozilla
| Assignee | ||
Comment 5•12 years ago
|
||
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)
| Assignee | ||
Comment 6•12 years ago
|
||
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 7•12 years ago
|
||
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
| Assignee | ||
Comment 8•12 years ago
|
||
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-
Updated•12 years ago
|
Attachment #8357793 -
Flags: review?(jmathies) → review+
| Assignee | ||
Comment 9•12 years ago
|
||
Updated to ensure zooming is enabled by Metro.
Attachment #8357795 -
Attachment is obsolete: true
Attachment #8357910 -
Flags: review?(jmathies)
Attachment #8357910 -
Flags: review?(botond)
Updated•12 years ago
|
Attachment #8357910 -
Flags: review?(botond) → review+
Comment 10•12 years ago
|
||
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+
| Assignee | ||
Comment 11•12 years ago
|
||
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/a67882c52c98
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/f0811650f2f7
status-b2g-v1.2:
--- → wontfix
status-b2g-v1.3:
--- → affected
status-b2g-v1.4:
--- → affected
status-firefox27:
--- → wontfix
status-firefox28:
--- → affected
status-firefox29:
--- → affected
Comment 12•12 years ago
|
||
| Assignee | ||
Comment 13•12 years ago
|
||
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.
Comment 14•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8cb07bfc1390
https://hg.mozilla.org/mozilla-central/rev/f7aeb3d7992b
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Comment 16•12 years ago
|
||
This depends on bug 915985. Please post a branch-specific patch for uplift or get approval for that to land as well.
| Assignee | ||
Comment 18•12 years ago
|
||
I've requested 1.3 approval for bug 915985 as well.
Flags: needinfo?(bugmail.mozilla)
| Assignee | ||
Comment 19•12 years ago
|
||
| Assignee | ||
Updated•12 years ago
|
Keywords: branch-patch-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•