Last Comment Bug 783747 - Need less panning intertia/friction (new heuristics are slightly frustrating)
: Need less panning intertia/friction (new heuristics are slightly frustrating)
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: Graphics: Layers (show other bugs)
: unspecified
: All All
: -- normal (vote)
: mozilla17
Assigned To: Doug Sherk (:drs) (inactive)
:
Mentors:
Depends on:
Blocks: 745136
  Show dependency treegraph
 
Reported: 2012-08-17 23:49 PDT by Chris Jones [:cjones] inactive; ni?/f?/r? if you need me
Modified: 2012-08-23 03:52 PDT (History)
2 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Lower async panning friction (1.27 KB, patch)
2012-08-20 12:25 PDT, Doug Sherk (:drs) (inactive)
gal: review+
Details | Diff | Splinter Review

Description Chris Jones [:cjones] inactive; ni?/f?/r? if you need me 2012-08-17 23:49:47 PDT
The current target for panning heuristics seems to approximately match the motion of my finger --- if I fling my finger up X pixels, the page seems to also fling up somewhere around that distance as well.  That feels frustrating physically because the actual friction of my finger on the phone touch screen is fairly low and the surfaces seem smooth (I can't see what's behind the page), but the page reacts as if I'd flung sandpaper over sandpaper.

We could be really formal about this and decide on a physical model for the page (mass and friction coefficient), then measure user's real interaction of finger with touch screen and adjust panning physics wrt that.

But maybe more importantly, feel for b2g has diverged considerably from firefox-android, with not much rationale that I've seen.
Comment 1 Andreas Gal :gal 2012-08-18 00:51:07 PDT
We tried to align more closely with another popular platform, which overall I find a lot more pleasing. We can reduce the friction and see what you think. Is that sufficient?
Comment 2 Doug Sherk (:drs) (inactive) 2012-08-18 00:56:53 PDT
I agree that we should reduce the friction a little bit. I think the Fennec friction is too much though, especially considering the form factor of Otoro vs. most phones that Fennec runs on.
Comment 3 Andreas Gal :gal 2012-08-18 01:48:52 PDT
Doug can you cook up something? I can review tomorrow.
Comment 4 Doug Sherk (:drs) (inactive) 2012-08-20 12:25:00 PDT
Created attachment 653472 [details] [diff] [review]
Lower async panning friction

Behold my magnum opus of patches.

Not sure who wants to review this, I just put :gal based on comment 3.
Comment 5 Doug Sherk (:drs) (inactive) 2012-08-21 21:38:42 PDT
https://hg.mozilla.org/integration/mozilla-inbound/rev/59a7c7868711
Comment 6 Ed Morley [:emorley] 2012-08-23 03:52:58 PDT
https://hg.mozilla.org/mozilla-central/rev/59a7c7868711

Note You need to log in before you can comment on or make changes to this bug.