Microsoft Surface Pro 3 mouse events not fired when PEN touches the screen.
Reported by
inchirie...@gmail.com,
Mar 31 2016
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36 Steps to reproduce the problem: 1. create a HTML element 2. add an event listener: mousedown, touchstart, pointerdown 3. touch the screen with the surface pro pen What is the expected behavior? On touch some of the above events should fire. What went wrong? Mousedown fires when the pen touches the screen AND moves a little. Mousedown DOES NOT FIRE when pen touches only. Did this work before? N/A Chrome version: 49.0.2623.110 Channel: stable OS Version: 10.0 Flash Version: Shockwave Flash 21.0 r0 Mousedown and touchstart event fire when the screen is tapped with finger... it doesn't work the same with the pen.
,
Apr 1 2016
nzolghadr@; any ideas?
,
Apr 1 2016
I don't think we have full stylus support on Windows yet. I found this Issue 526153 which is related I believe. Maybe mustaq@ knows more about that. I will test this scenario tomorrow but as far as I have been experiencing with the pen it was a bit hard to only have the pen touch the screen and not move at all.
,
Apr 1 2016
I'd like to describe our use-case: We have a HTML5 SVG which allows the users to draw. The draw begins on mousedown, continues on mousemove and stops at mouseup. This bug makes this experience horrible as the user doesn't see feedback right away, he has to start moving the pen to see the drawing start, but in this case he has a small straight line..
,
Apr 1 2016
,
Apr 1 2016
I looked at this scenario. I can reproduce the problem in Chrome. inchiriere.md@ how does your app work on FireFox on Windows? Based on my observation FF has the same problem and I believe that is what Windows does and it doesn't send WM_LBUTTONDOWN until it is sure it is indeed a mouse down. The problem seems more like delaying the mousedown until platform is sure that user doesn't want to right click. So basically if you press pen on the screen and keep it there after a second or two you should get mousedown with right button pressed. So if the agent right away sends the mousedown with left button pressed then if user keeps the pen there for another second what should the agent do? Send another mousedown with right button?! Edge does send the mousedown with left button pressed right away but then later sends some inconsistent sequence of events if you keep the pen pressed which is probably not good either. We need to investigate a bit more here. sadrul@, spang@ do you know about this behavior and how we can work around that?
,
Apr 1 2016
FF has the same problem. By the way Edge is really strange: it keeps firing mousedown like 5 times a second when pen just touches the screen (without moving).
,
May 25 2017
This should be fixed now I believe. We started using WM_Pointer and we do send both pointerdown and mousedown as soon as the pen touches the screen as far as I tested. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 Deleted