Closed Bug 1521082 Opened 6 years ago Closed 6 years ago

[Pointer Events] Duplicated pointerdown event in multi touches

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox66 --- fixed
firefox67 --- fixed

People

(Reporter: edgar, Assigned: edgar)

References

Details

Attachments

(2 files)

No description provided.
Attached file bug_1521082.html (deleted) —

STR:

  1. Press screen with the first finger (do not release it)
  2. Press with another finger.

Actual results:
A duplicated pointerdown event is fired for first press.

Expected results:
There should only one pointerdown event fired for first press.

Assignee: nobody → echen
Blocks: 822898
Priority: -- → P2

I wonder why (manual) wpt tests for pointer events didn't catch this.

Attachment #9039686 - Attachment description: Bug 1521082 - Don't dispatch pointer event if the touch in touchstart event is alyready registered; → Bug 1521082 - Don't dispatch pointer event if the touch in touchstart event is already registered;
Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2ebf1cc8b875 Don't dispatch pointer event if the touch in touchstart event is already registered; r=smaug
Blocks: 1505321
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Blocks: 1524251
No longer blocks: 1524251

This is a major improvement for ARM arch and Windows, I think it's worth uplifting to 66.
Edgar, can you please prepare a uplift request?

Flags: needinfo?(echen)

Comment on attachment 9039686 [details]
Bug 1521082 - Don't dispatch pointer event if the touch in touchstart event is already registered;

Beta/Release Uplift Approval Request

Feature/Bug causing the regression

None

User impact if declined

The pinch to zoom in/out on google map on touch screen device doesn't work, it always goes to maximum zoom.
It is a really bad experience on google map on touch screen devices.

Is this code covered by automated tests?

Yes

Has the fix been verified in Nightly?

Yes

Needs manual test from QE?

No

If yes, steps to reproduce

List of other uplifts needed

None

Risk to taking this patch

Low

Why is the change risky/not risky? (and alternatives if risky)

The changes is small, only affects pointer event on touch screen device and also make our behavior align with other browsers.

String changes made/needed

None

Flags: needinfo?(echen)
Attachment #9039686 - Flags: approval-mozilla-beta?

Comment on attachment 9039686 [details]
Bug 1521082 - Don't dispatch pointer event if the touch in touchstart event is already registered;

Fix for pinch to zoom on touch screens, let's uplift for beta 6.

Is this something that never worked correctly in this case, or, is it a regression?
Or, maybe this site changed recently?

Flags: needinfo?(echen)
Attachment #9039686 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Thanks for adding new tests, too!

Flags: in-testsuite+

(In reply to Liz Henry (:lizzard) (use needinfo) from comment #10)

Is this something that never worked correctly in this case, or, is it a regression?
Or, maybe this site changed recently?

I am not sure if site changed recently.
For pointer event, this is not a regression, it is something that never worked correctly.

Flags: needinfo?(echen)
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: