Closed
Bug 1043719
Opened 11 years ago
Closed 11 years ago
A long-press event is fired in the middle of a pinch gesture if the second touchstart is cancelled
Categories
(Core :: Panning and Zooming, defect)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: kats, Assigned: kats)
References
Details
Attachments
(1 file)
|
795 bytes,
patch
|
botond
:
review+
|
Details | Diff | Splinter Review |
STR:
1. Load http://people.mozilla.org/~kgupta/touch.html
2. Check the "second touch-start" box
3. Do a pinch while watching console output (make sure you put the two fingers down at the same time, or as close to it as possible)
Expected:
- No contextmenu event is fired
Actual:
- Contextmenu event is fired amid the slew of touchmoves.
The reason is that the touch block starting at the second touch gets cancelled, so those events don't go through to the GEL code. The long-press timer that was scheduled from the first touch never gets cancelled as a result.
| Assignee | ||
Comment 1•11 years ago
|
||
Technically this was fixed in bug 1043689 because the state in the GEL gets reset to none. However the pending long-tap and max-tap timeouts are still active needlessly. It makes sense to cancel them when resetting the state.
Assignee: nobody → bugmail.mozilla
| Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8466625 -
Flags: review?(botond)
Updated•11 years ago
|
Attachment #8466625 -
Flags: review?(botond) → review+
| Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 3•11 years ago
|
||
Keywords: checkin-needed
Comment 4•11 years ago
|
||
Updated•11 years ago
|
QA Whiteboard: [qa+]
| Assignee | ||
Comment 5•11 years ago
|
||
Interesting; that gtest passes for me locally. I'll investigate.
| Assignee | ||
Comment 6•11 years ago
|
||
Was able to reproduce after updating my local code. Filed bug 1048888 for the underlying problem. Try push with both patches: https://tbpl.mozilla.org/?tree=Try&rev=f4fa0f5c97e4
| Assignee | ||
Comment 7•11 years ago
|
||
Comment 8•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in
before you can comment on or make changes to this bug.
Description
•