Closed Bug 1355944 Opened 8 years ago Closed 8 years ago

Unexpected flings after pinch actions

Categories

(Core :: Panning and Zooming, defect, P1)

55 Branch
All
Android
defect

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox52 --- unaffected
firefox-esr52 --- unaffected
firefox53 --- unaffected
firefox54 --- unaffected
firefox55 --- fixed

People

(Reporter: kats, Unassigned)

References

Details

(Keywords: regression, Whiteboard: [gfx-noted])

After bug 1180799 landed I'm seeing a lot of unexpected spontaneous flings happening after pinch actions in Fennec Nightly. I put a video up at https://people-mozilla.org/~kgupta/bug/1180799.mp4 - it's pretty easy to reproduce. I haven't tried this on a desktop (non-zoomable) platform.

Ideally we can fix this soon, because it's a pretty bad regression that makes the browser hard to use. If we don't have a path to fixing it soon we should disable this behaviour, at least on zoomable platforms.
Unfortunately I'm on PTO until Monday, and probably won't have a chance to investigate this until then.

If we want to quickly disable this behaviour without a full backout of the bug 1180799, #ifdefing out the call to HandleEndOfPan() in OnScaleEnd() [1] on Android (or all platforms if necessary) should do it.

[1] http://searchfox.org/mozilla-central/rev/944f87c575e8a0bcefc1ed8efff10b34cf7a5169/gfx/layers/apz/src/AsyncPanZoomController.cpp#1495
(In reply to Botond Ballo [:botond] from comment #1)
> If we want to quickly disable this behaviour without a full backout of the
> bug 1180799, #ifdefing out the call to HandleEndOfPan() in OnScaleEnd() [1]
> on Android (or all platforms if necessary) should do it.

I tried ifdefing this out but it didn't do the trick. It must be code changes elsewhere that are the problem. In retrospect, not surprising, because the HandleEndOfPan is only called if zooming is not allowed, so it's probably not getting hit on Fennec.

I'm going to back out the patch for now.
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/5e1026baaf23
Back out cset 456dbb5c2b93 (bug 1180799) for causing unexpected behaviour. r=backout
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #2)
> I tried ifdefing this out but it didn't do the trick. It must be code
> changes elsewhere that are the problem. In retrospect, not surprising,
> because the HandleEndOfPan is only called if zooming is not allowed, so it's
> probably not getting hit on Fennec.

Thanks for testing. Based on this result, I've developed a theory as to what's going wrong, described in bug 1180799 comment 38.
https://hg.mozilla.org/mozilla-central/rev/5e1026baaf23
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.