搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How can I disable flick gestures in firefox?

more options

http://stackoverflow.com/questions/36877410/how-can-i-disable-flick-behavior-in-a-browser-chrome-firefox https://github.com/jogonzal/MinimalisticFlickDelayRepro

Hello firefox experts,

Flicks are gestures that can be triggered with a stylus or finger to go back, forward, scroll down or up in an app in windows.

http://windows.microsoft.com/en-us/windows7/what-are-flicks

In my web app, I am using an HTML5 canvas to capture mouse events to draw. In a Microsoft Surface (where flicks are enabled), because of flicks, the mousedown event is delayed and several mousemoves plain ignored and not transferred to the web app. Furthermore, sometimes, the user goes back/forward/scrolls up/down because of the flick actions.

Here's a repro/description/screenshot/proposed fix of this issue: https://github.com/jogonzal/MinimalisticFlickDelayRepro

http://stackoverflow.com/questions/36877410/how-can-i-disable-flick-behavior-in-a-browser-chrome-firefox https://github.com/jogonzal/MinimalisticFlickDelayRepro Hello firefox experts, Flicks are gestures that can be triggered with a stylus or finger to go back, forward, scroll down or up in an app in windows. http://windows.microsoft.com/en-us/windows7/what-are-flicks In my web app, I am using an HTML5 canvas to capture mouse events to draw. In a Microsoft Surface (where flicks are enabled), because of flicks, the mousedown event is delayed and several mousemoves plain ignored and not transferred to the web app. Furthermore, sometimes, the user goes back/forward/scrolls up/down because of the flick actions. Here's a repro/description/screenshot/proposed fix of this issue: https://github.com/jogonzal/MinimalisticFlickDelayRepro

所有回复 (2)

more options

You can set the related browser.gesture.pinch.* pref(s) to an empty string to disable that action.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

more options

When I search for WM_TABLET in the source code, I don't see any reference to WM_TABLET_FLICK:

https://dxr.mozilla.org/mozilla-central/search?q=WM_TABLET

So Firefox may be ignoring that message, and subsequently receiving WM_APPCOMMAND, WM_VSCROLL, or WM_KEYDOWN as mentioned in the Microsoft documentation. I'm not sure whether Firefox can distinguish that these were caused by pen input on a canvas, but I didn't dig into them in detail. Perhaps it gets at least the screen coordinates.

The question from Alex back in 2009 seems to echo the issue raised by your question:

https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/8325ddd8-53df-49b7-ad78-525e4005464b/how-to-disableenable-pen-flicks-programatically?forum=tabletandtouch#ed3bd386-5bd4-4706-9a4d-6d4649e75a6b