Closed
Bug 984794
Opened 10 years ago
Closed 10 years ago
Tune and enable axis-locking on B2G
Categories
(Core :: Panning and Zooming, defect)
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: cwiiis, Assigned: kats)
Details
Attachments
(1 file)
1.02 KB,
patch
|
cwiiis
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
It would appear the APZC has no axis lock, making it very hard to scroll vertically when a page has horizontal scrolling (for example, after you've zoomed in slightly). I think we should mimic the Android JPZC behaviour here.
Comment 1•10 years ago
|
||
We have axis locking implemented (bug 892684), but it's off by default. It can be turned on using the "apz.axis_lock_mode" preference (see http://dxr.mozilla.org/mozilla-central/source/modules/libpref/src/init/all.js?from=all.js#324).
Reporter | ||
Comment 2•10 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #1) > We have axis locking implemented (bug 892684), but it's off by default. It > can be turned on using the "apz.axis_lock_mode" preference (see > http://dxr.mozilla.org/mozilla-central/source/modules/libpref/src/init/all. > js?from=all.js#324). Well that's an interesting choice. I guess we can use this bug to track turning it on?
Comment 3•10 years ago
|
||
(In reply to Chris Lord [:cwiiis] from comment #2) > (In reply to Botond Ballo [:botond] from comment #1) > > We have axis locking implemented (bug 892684), but it's off by default. It > > can be turned on using the "apz.axis_lock_mode" preference (see > > http://dxr.mozilla.org/mozilla-central/source/modules/libpref/src/init/all. > > js?from=all.js#324). > > Well that's an interesting choice. Kats said in https://bugzilla.mozilla.org/show_bug.cgi?id=892684#c11 that "with axis locking turned on it's pretty hard to do a pan that's not axis-locked, so that might need some tuning but we can do that if/when we turn it on on B2G by default." I'm not sure whether there is anything besides that tuning holding this up from being turned on by default. > I guess we can use this bug to track turning it on? Sure.
Assignee | ||
Updated•10 years ago
|
Summary: It's very hard to scroll exactly vertically or horizontally → Tune and enable axis-locking on B2G
Comment 4•10 years ago
|
||
Using the "sticky" mode (apzc.axis_lock_mode = 2) helps avoid problems caused by unintended locking. This is the mode we used in Firefox for Metro.
Assignee | ||
Comment 5•10 years ago
|
||
Assignee: nobody → bugmail.mozilla
Attachment #8397970 -
Flags: review?(chrislord.net)
Reporter | ||
Comment 6•10 years ago
|
||
Comment on attachment 8397970 [details] [diff] [review] Switch to sticky axis locking Review of attachment 8397970 [details] [diff] [review]: ----------------------------------------------------------------- LGTM, do we want to uplift this to Aurora too?
Attachment #8397970 -
Flags: review?(chrislord.net) → review+
Assignee | ||
Comment 7•10 years ago
|
||
Maybe. Let's let it bake a bit on m-c first.
Keywords: checkin-needed
Comment 8•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/2fbe01ee3955
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/2fbe01ee3955
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Assignee | ||
Comment 10•10 years ago
|
||
Comment on attachment 8397970 [details] [diff] [review] Switch to sticky axis locking [Approval Request Comment] Bug caused by (feature/regressing bug #): none User impact if declined: very easy to scroll on the secondary axis even when not desired. this also results in more painting which is bad for performance Testing completed (on m-c, etc.): on m-c Risk to taking this patch (and alternatives if risky): low risk, affects b2g only. String or IDL/UUID changes made by this patch: none
Attachment #8397970 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
Attachment #8397970 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 11•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/9d9ead7d6afa
status-b2g-v1.4:
--- → fixed
status-b2g-v2.0:
--- → fixed
status-firefox29:
--- → wontfix
status-firefox30:
--- → fixed
status-firefox31:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•