New issue
Advanced search Search tips

Issue 634817 link

Starred by 13 users

Issue metadata

Status: Fixed
Owner:
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug

Blocked on:
issue 367113

Blocking:
issue 526153



Sign in to add a comment

PointerEvent.pressure is not plumbed correctly in Windows

Reported by daa...@gmail.com, Aug 5 2016

Issue description

In Internet Explorer pointer events will return a pressure anywhere between 1 and 0, similar to the amount of pressure levels my Wacom Intuos Pen tablet supports. In Chrome however, the pressure property will only return 0 or 0.5. This is not sufficient for pressure sensitive drawing. See the printscreens for reference. 

 
2016-08-05.png
140 KB View Download
2016-08-05 (1).png
156 KB View Download
Labels: -Pri-2 OS-Windows Pri-3
Owner: lanwei@chromium.org
Status: Assigned (was: Unconfirmed)
I could reproduce the bug in Surface using http://rbyers.github.io/eventTest.html: the pressure is always 0.5 during active button state (pen touching the tablet or hovering pen with barrel button pressed_. This means the pressure is not set at low-level events, so blink uses the default 0.5 as per the spec.


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

Blocking: 526153
 Issue 684602  has been merged into this issue.
The title of this issue doesn't accurately cover the scope of the problem. Where the title implies that this is only a problem with the intuos tablet, it is actually all of windows. I'd hate to see this issue be triaged because it seems like an edge case.

Comment 5 by mustaq@chromium.org, Jan 24 2017

Summary: PointerEvent.pressure is not plumbed correctly in Windows (was: Wacom Intuos Pen tablet limited pressure levels)
Good point, setpixelphone. Changed the title.

Comment 6 by mustaq@chromium.org, Feb 21 2017

Labels: -Pri-3 M-58 Pri-2
Blockedon: 367113
Lan is focusing on switching low level eventing to use WM_POINTER, which should solve this problem.
Hi - question: Does M-58 mean that this will be done for Chromium 58 release? Eagerly awaiting!

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

Yes, Chromium 58 is our target.
Status: Fixed (was: Assigned)

Comment 11 by daa...@gmail.com, May 13 2017

When will this be implemented in the stable version of chrome? It's still not working in version 58.0.3029.110 (64-bit) for me.
Status: Assigned (was: Fixed)
Sorry daan93, you are right that the bug is still there: I tried on 58.0.3029.81 and the pressure is always 0.5 when the pen is touching the screen.

Lan, could you please check again? This is a sign of missing plumbing somewhere because Blink sets |pressure| to 0.5 when a value is not set.

Hi, I might be able to chime in. The fixes fell in 59 and not 58. I would check that it works in Canary or Beta. 

I am also very sad the fixes didn't get into 58. What's another month when you've been waiting a year? :D

Comment 14 by daa...@gmail.com, May 15 2017

I can confirm that it's working in Chrome Canary version 60.0.3100.0. Thankyou setpixel for clearing that up to me. I'm just happy it's fixed. It has been an even longer time since the Wacom pressure plugin was disabled by chrome along with all npapi plugins. Now I can work on my own painting application with the assurance that pressure will be available for everyone again in the near future, with added support for some non-wacom styluses. :)
Labels: -M-58 M-59
Status: Fixed (was: Assigned)

Sign in to add a comment