Closed Bug 963270 Opened 6 years ago Closed 6 years ago

While pinching, touching with an additional finger causes zoom recalculation

Categories

(Core :: Panning and Zooming, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: drs, Assigned: drs)

Details

Attachments

(1 file)

If you enter a pinch gesture, then add a nth finger (n>2), the zoom gets recalculated assuming that the span changed from the frame where you had n-1 fingers and the one where you had n fingers.

For example, if you touch with a third finger really far away from a previously touching set of two, APZC will think that you tried to zoom out really far.

To fix this, we should just recalculate the span on additional touches and assume that no zoom was desired between these frames.
We could either write a ton of machinery to support propagating an unchanged focus point from GestureEventListener to APZC, as well as detecting when a finger has been added or removed from GestureEventListener, or we could just do this.
Assignee: nobody → bugzilla
Attachment #8364743 - Flags: review?(bugmail.mozilla)
Attachment #8364743 - Flags: review?(bugmail.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/5bc1280bb190
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in before you can comment on or make changes to this bug.