Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freedrawing with stylus broken in Chrome 75/ Windows 10 #5773

Closed
pinstripe-potatohead opened this issue Jun 25, 2019 · 3 comments
Closed

Freedrawing with stylus broken in Chrome 75/ Windows 10 #5773

pinstripe-potatohead opened this issue Jun 25, 2019 · 3 comments

Comments

@pinstripe-potatohead
Copy link

pinstripe-potatohead commented Jun 25, 2019

Version

3.2.0

Test Case

http://jsfiddle.net/fabricjs/Da7SP/

Information about environment

Nodejs or browser? browser
Which browsers? Chrome 75/Chrome Canary, on Windows 10. Freedrawing works on Chrome on Mac

Steps to reproduce

Freedrawing with a Wacom tablet(One, Intuos), with 'pen' mode selected doesn't draw lines on the canvas on Chrome/Win 10.

Expected Behavior

'pen' mode should draw lines, just like 'mouse' mode (pointerType = mouse) would

I believe the issue happens because Chrome on Windows 10, detects pen mode styluses as touch devices, and emits pointerevents and touchevents at the same time(Only pointerevents are fired on Chrome Mac, and Firefox). These touch events cause the getPointer util to return null coordinates, which causes freedrawing to not work

@asturur
Copy link
Member

asturur commented Jun 25, 2019

would be great to attach console logs if the events generated from the epncil

@asturur
Copy link
Member

asturur commented Jul 14, 2019

Please follow #5785

@asturur asturur closed this as completed Jul 14, 2019
@pinstripe-potatohead
Copy link
Author

It's working with v3.3.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants