New issue
Advanced search Search tips

Issue 857085 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 850011
Owner: ----
Closed: Jul 3
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Browser not dispatching pointerUp if using pen on touch screen

Reported by chaotoma...@googlemail.com, Jun 27 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

Steps to reproduce the problem:
1. Attach an eventlistener for 'pointerup' events (on any dom element)
2. Drag with a pen (e.g. on Surface)
3. Inspect all dispatched events using `monitorEvents(document.body)`

What is the expected behavior?
Like with a mouse pointer (or a finger on the touch screen) the browser should dispatch `pointerDown` (maybe `pointerMove`) and `pointerUp`.

What went wrong?
The `pointerUp` isn't logged and the related event listener is not called. But `pointerOut` and `pointerLeave` are dispatched. For now I use them as a workaround and dispatch the event manually on `pointerOut`.

Did this work before? Yes M66 (I guess - it worked about one month ago I assume)

Does this work in other browsers? Yes

Chrome version: 67.0.3396.99  Channel: stable
OS Version: 10
Flash Version:
 
Labels: Needs-Bisect Needs-Triage-M67
Labels: Triaged-ET Needs-Feedback
Thanks for filing the issue!

@Reporter: Could you please provide sample Test file/URL that reproduces the issue which helps us in further triaging it.

Thanks!
Cc: lanwei@chromium.org nzolghadr@chromium.org
Reporter, can you try with the latest Canary or beta (version 68) and see whether it is fixed or not.
Lan, was your fix merged into 68?


Hi viswa,
sorry for leaving out a demo of the bug. I can reproduce the bug with this Codepen on a Legamaster touch device.

Thanks lanwei for pointing out. I tested just now with the newest beta release v68.0.3440.42 and it works!

Btw I guess the bug wasn't only about missing a "pointerUp" but dispatching a final "pointerMove" instead. Just saw while comparing stable and beta that on stable there is one more "pointerMove" as on beta.

Thanks for the quick support (and deploying the hotfix)!

Greetings,
Thomas
I forgot to add the codepen.io link:
https://codepen.io/Chaoste/pen/WyPqGB
Project Member

Comment 6 by sheriffbot@chromium.org, Jul 2

Cc: viswa.karala@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Sorry for the spam but I'd like to mention at this point that I've got the feeling that there is another bug. If I use two pens (which is very unlikely) there is only one pointerUp event. Maybe a related bug? If you wish I can create another issue but maybe it's related to this one.
Labels: -Needs-Bisect
Mergedinto: 850011
Status: Duplicate (was: Unconfirmed)
As per comment# 4, the issue seems to be fixed on latest beta# 68.0.3440.42 and for the similar issue fix already landed on M-68 latest beta(i.e., for Issue:  850011 ), hence merging it into it and marking it as Duplicate.
Note: Feel free to Undupe it if not the case.

Thanks!

Sign in to add a comment