New issue
Advanced search Search tips

Issue 648251 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

Pointer Events width / height not plumbed through correctly for touch on Windows

Project Member Reported by rbyers@chromium.org, Sep 19 2016

Issue description

On a Microsoft Surface 3: 

What steps will reproduce the problem?
(1) https://patrickhlauke.github.io/touch/tracker/multi-touch-tracker-pointer-hud.html 
(2) Touch and move fingers around

What is the expected output?
Expect to see contact geometry change, roughly matching the finger - as it does in Edge.

What do you see instead?
Fixed width/height of 25

I remember we disabled this at some point due to a known windows bug with the scale being wrong, but at that time Edge didn't work either.  Now that Edge appears to be working correctly, we should re-investigate.
 

Comment 1 by mustaq@chromium.org, Sep 19 2016

Labels: Hotlist-Input-Dev PointerEvent
Owner: lanwei@chromium.org
Status: Assigned (was: Untriaged)
Lan: assigning to you for now, feel free to bounce back to me if you believe the low-level plumbing is not an issue here.

Comment 2 by rbyers@chromium.org, Sep 19 2016

I can reproduce the Edge behavior on a Surface (not sure which version it is) running Windows 10 Pro v1607 and EdgeHTML 14.141393

Comment 3 by lanwei@chromium.org, Sep 22 2016

In Windows Touch Programming Reference, the only thing that I can find is  cxContact, cyContact in TOUCHINPUT structure, and I tested on Surface book. Unfortunately, we can only get these values for certain touch events, like touch release, not from touch starts or touch moves, and only when tested on Surface, the Acer touch monitor I have will just return 0.
lanwei@ have we tested https://msdn.microsoft.com/en-us/library/windows/desktop/hh454890(v=vs.85).aspx I believe we probably can fix this issue now moving WM_TOUCH->WM_POINTER

Comment 5 by lanwei@chromium.org, Apr 25 2017

I think so, POINTER_TOUCH_INFO has information about the contact area. I will test this issue when I am working on replacing WM_TOUCH with WM_POINTER.
Status: Fixed (was: Assigned)
Fixed with enabling WM_POINTER for WM_TOUCH

Sign in to add a comment