Closed
Bug 1323400
Opened 8 years ago
Closed 6 years ago
[PointerEvents] Long taps keeps firing the "pointermove"
Categories
(Core :: DOM: Events, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla67
People
(Reporter: cynthiatang, Assigned: edgar)
References
(Blocks 2 open bugs)
Details
Attachments
(4 files)
Steps to reproduce:
1. Launch Firefox with Pointer Events
2. Open http://rbyers.github.io/eventTest.html
3. Long tap in an empty area
Expected result:
- pointerType="touch"
Actual result:
- pointerType="touch"
- But it keeps firing the "pointermove"
- Videos:
- Enable pointerEvents: https://youtu.be/a9ziGiI99E4
- Disable pointerEvents: https://youtu.be/ms7ClnXw0Co
Environment:
- Devices: Surface 3
- OS: Windows 10 Pro. (64bit)
- Firefox:53.0a1 (2016-11-30) (64-bit)
Updated•7 years ago
|
Priority: -- → P2
Comment 1•7 years ago
|
||
Without export MOZ_USE_XINPUT2=1, OS keeps firing mousemove and then we generates pointermove from those mousemove events.
As I know, the touch functionality is not working w/o export MOZ_USE_XINPUT2=1. And there are some bugs with MOZ_USE_XINPUT2=1.
Comment 2•6 years ago
|
||
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Comment 3•6 years ago
|
||
The bug was reported on windows; however comment 1 confusingly indicated a linux configuration. Worth checking it again.
Blocks: 822898
Assignee | ||
Comment 4•6 years ago
|
||
I could reproduce it on Windows Surface, pointermove event keeps being fired even if the touch isn't moved.
Assignee | ||
Comment 5•6 years ago
|
||
TouchManager will filter out the duplicated events if the touch isn't changed, https://searchfox.org/mozilla-central/rev/5c8ea961d04767db723a0a15e3a8f7fbca154129/layout/base/TouchManager.cpp#276-280. And the pointer event seems doesn't handle this well.
Assignee | ||
Updated•6 years ago
|
Assignee: stone123456 → echen
Assignee | ||
Comment 6•6 years ago
|
||
Assignee | ||
Comment 7•6 years ago
|
||
Assignee | ||
Comment 8•6 years ago
|
||
To make it easier to add new test without introudcing duplicated code.
Assignee | ||
Comment 9•6 years ago
|
||
Assignee | ||
Comment 10•6 years ago
|
||
Assignee | ||
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
Pushed by echen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fe21a09ef43f
Part 1: Mark Touch::Equals as a const method; r=smaug
https://hg.mozilla.org/integration/autoland/rev/b526bd580215
Part 2: Filter out duplicated touchmove for pointer event; r=smaug
https://hg.mozilla.org/integration/autoland/rev/8a29492017e3
Part 3-1: Refactor test_multiple_touches.html; r=smaug
https://hg.mozilla.org/integration/autoland/rev/b49310f66efe
Part 3-2: Add test; r=smaug
Comment 13•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fe21a09ef43f
https://hg.mozilla.org/mozilla-central/rev/b526bd580215
https://hg.mozilla.org/mozilla-central/rev/8a29492017e3
https://hg.mozilla.org/mozilla-central/rev/b49310f66efe
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox67:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Updated•6 years ago
|
Blocks: aarch64-windows-66-uplift
Updated•5 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•