Closed Bug 1243854 Opened 7 years ago Closed 7 years ago

Medium-length flings stop too soon

Categories

(Firefox for Android Graveyard :: Toolbar, defect)

All
Android
defect
Not set
normal

Tracking

(firefox47 fixed)

RESOLVED FIXED
Firefox 47
Tracking Status
firefox47 --- fixed

People

(Reporter: kats, Assigned: kats)

References

Details

Attachments

(1 file)

In bug 1229841 we tuned some prefs to make fling acceleration faster, but I think we also need to speed up individual fast-fling actions, specially because we also have high friction. Having fling curving speed up these flings will allow the user to travel a little bit further, and the high friction will still bring it to a solid stop.

I played around a little bit with the fling curve prefs and came up with the values below. Anthony, do you mind trying out these values in Fennec nightly (you can enter them on about:config, and restart the browser to take effect) and see how it feels? If it doesn't feel any worse I'd like to land it.

apz.fling_curve_function_x1: 0.59
apz.fling_curve_function_y1: 0.46
apz.fling_curve_function_x2: 0.05
apz.fling_curve_function_y2: 1.00
Flags: needinfo?(alam)
Just tried this out on a 5X and it looks fine to me!

Thanks Kats!
Flags: needinfo?(alam)
Comment on attachment 8716456 [details]
MozReview Request: Bug 1243854 - Tweak fling curving to make medium-length flings go a bit faster. r?snorp

https://reviewboard.mozilla.org/r/33815/#review30617
Attachment #8716456 - Flags: review?(snorp) → review+
https://hg.mozilla.org/mozilla-central/rev/f8a4e2d7bf9f
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 47
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.