New issue
Advanced search Search tips

Issue 701357 link

Starred by 6 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug

Blocked on:
issue 367113



Sign in to add a comment

No simultaneous multitouch and pen input with the Pointer Events API

Reported by stephan....@gmail.com, Mar 14 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36

Steps to reproduce the problem:
1. On a Windows Device with touch and pen input
2. Disable the option "Ignore touch input when I'm using my pen" on Windows
3. Open in Chrome
3a. http://codepen.io/sdrab0/pen/dOrYmG, or
3b. developer console and execute "monitorEvents(document);"

Alternative 1 "Touch first"
4. Start a touch trail using multiple fingers (works)
5. Additionally use the pen (events don't come through)

Alternative 2 "Pen first"
4. Use the pen (works)
5. Simultaneously, start a touch trail (cancels out pen)
6. Stop touch trail (pen events of ongoing pen trail come back online)

What is the expected behavior?
Continuous and simultanous pointer events for touch and pen without touch cancelling out pen event sessions

What went wrong?
Touch cancels out the pen.
- In Alternative 1, the pen events in step 5 are not reported because of the ongoing touch.
- In Alternative 2, the touch events from step 5 cancel the pen events for as long as the touch session lasts. The pen events come back online after all touch sessions end, see step 6.

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 57.0.2987.98  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 25.0 r0

This works in Edge 38.14393.0.0
 
Cc: lanwei@chromium.org nzolghadr@chromium.org
Labels: Hotlist-Input-Dev
Owner: mustaq@chromium.org
Status: Assigned (was: Unconfirmed)
mustaq@ can you root cause this can work with lanwei@ to see if her fixes to pen input will fix this?

Comment 3 by mustaq@chromium.org, Mar 14 2017

Blockedon: 367113
I believe this is caused by our reliance on old Windows API, so using WM_POINTER should fix this.
Thanks for the quick reply!
Hey,  I am glad you guys are looking into this! Could you please let me know when, approximately, the simultaneous pen and touch input will work on chrome. I have a deadline approaching but I would love to demo my work in chrome rather than edge just for the sake of performance!
Same over here, we love the performance of our Webapp in Chrome, but the Multitouch/Multipen-requirement is mandatory, so we may have to go with Edge, where the performance sucks... :-/
Another thing that force me to give up on using chrome for and pen + touch project is that there isn't a way to detect the eraser button is pressed. Please correct me if I'm wrong. 

Comment 8 by mustaq@chromium.org, Mar 27 2017

We have  Issue 643329  to track this. Thanks for the heads up, we will start working on that soon.

Comment 9 by mustaq@chromium.org, Mar 27 2017

 Issue 526153  is our general bug for Windows pen support, we are close to a lower level fix (WM_POINTER) after which we will focus on general pen support.
Does simultaneous pen and touch work in Chrome on ios? It would be super cool if i can demo my work on iPad pro.


Comment 11 by phistuck@gmail.com, Mar 28 2017

#10 -
First, if it works in iOS Safari, it will most probably work in Chrome for iOS, because it uses WKWebView (some stripped-down version of iOS Safari) and not Blink.
Second, Safari does not support pointer events, last I heard (Apple is opposed to this standard), so it will not work using pointer events.
Cc: rbyers@chromium.org mustaq@chromium.org
 Issue 647088  has been merged into this issue.
Owner: lanwei@chromium.org
lanwei@: Could you please if this is still an issue after  Issue 526153  was fixed?

Sign in to add a comment