Issue metadata
Sign in to add a comment
|
Windows 10 Stylus Flick gestures interfere with drawing via mouse events |
||||||||||||||||||||||||
Issue descriptionTo repro: On a Windows 10 device with a Stylus: Enable "Use flicks to perform common actions quickly and easily" - Visit https://output.jsbin.com/kiwimo/44/quiet - Draw with the style, large curves illustrate the problem best We should draw a smooth curve, but the first line segment is massive. Disable flicks and retry, and we draw a smooth curve. Edge doesn't have this issue, even with flicks enabled.
,
Mar 21 2016
This may be because Edge is using the inking API?
,
Mar 29 2016
It appears that Edge is disabling flick gestures while pointer events are listened to. I can get the flick to register with the pen in Chrome, but not in Edge.
,
Mar 29 2016
There is a way to disable flick gestures for a specific region by responding to the WM_TABLET_QUERYSYSTEMGESTURESTATUS message. In fact, it seems that Edge always disables flicks. I cannot get Edge to respond to flick gestures at all.
,
Mar 29 2016
I thought ananta@ disabled flick gesture support back in December? See issue 506977 .
,
Mar 29 2016
ananta@ did, in fact, disable this. I was checking it on M49 where it was reproducing. I then tested against a developer chromium build and it isn't reproducing. I'm installing Canary on the Surface device to test it. All signs point to being fixed.
,
Mar 29 2016
Sorry for the noise, I can't repro in Canary.
,
Mar 29 2016
Sorry for even more noise... Isn't this a duplicate then?
,
Mar 31 2016
tl;dr; I'm reactivating this issue. I've been able to conclusively confirm that the MICROSOFT_TABLETPENSERVICE_PROPERTY window property must be set for every HWND that can receive pen/stylus input. This includes child windows. I was able to reproduce this on the Canary build using a Surface Book with the stylus. I wrote a stand-alone app that is a top-level window with a child-window covering part of the window. The app disables Flicks on the parent window, but the child window still has them enabled. Using the stylus, input a flick and it will register when initiated on the child window, but not if initiated on the parent window.
,
Apr 7 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/fd3c1f989b2e3012be9e6cffdb6bfa86b9fda99e commit fd3c1f989b2e3012be9e6cffdb6bfa86b9fda99e Author: kylixrd <kylixrd@chromium.org> Date: Thu Apr 07 21:05:18 2016 Need to set the MICROSOFT_TABLETPENSERVICE_PROPERTY window property even for child windows to properly disable Flicks. Added Tpcshrd.h header All HWNDS need to have Flicks disabled BUG= 595842 Review URL: https://codereview.chromium.org/1852503002 Cr-Commit-Position: refs/heads/master@{#385846} [modify] https://crrev.com/fd3c1f989b2e3012be9e6cffdb6bfa86b9fda99e/base/win/win_util.cc [modify] https://crrev.com/fd3c1f989b2e3012be9e6cffdb6bfa86b9fda99e/base/win/win_util.h [modify] https://crrev.com/fd3c1f989b2e3012be9e6cffdb6bfa86b9fda99e/content/browser/renderer_host/legacy_render_widget_host_win.cc [modify] https://crrev.com/fd3c1f989b2e3012be9e6cffdb6bfa86b9fda99e/ui/views/win/hwnd_message_handler.cc |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by jsc...@chromium.org
, Mar 21 2016Owner: kylixrd@chromium.org