Closed Bug 906109 Opened 12 years ago Closed 12 years ago

APZC can get stuck pinching instead of panning

Categories

(Core :: Graphics: Layers, defect)

26 Branch
All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: kats, Assigned: kats)

Details

Attachments

(1 file)

STR: 1. Load a page in the B2G browser. 2. Put down finger A on the page 3. Put down finger B on the page 4. Slide finger A up off the page and off the screen, leaving finger B on the page 5. Move finger B around Expected behaviour: the page pans Actual behaviour: the page zooms This happens because the GestureEventListener gets a MULTITOUCH_START event with two fingers, never gets a MULTITOUCH_END or MULTITOUCH_LEAVE event, and continues getting MULTITOUCH_MOVE events from finger B. Even thought these events have only one touch point, GestureEventListener still has in its array the touch point from finger A, and so thinks it should be pinching instead of panning.
Attached patch PatchSplinter Review
Attachment #791375 - Flags: review?(bugzilla)
Comment on attachment 791375 [details] [diff] [review] Patch Actually, not sure if :drs is still around and/or reviewing patches so moving this to Anthony.
Attachment #791375 - Flags: review?(bugzilla) → review?(ajones)
Attachment #791375 - Flags: review?(ajones) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: