How can I disable flick gestures in firefox?
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
Toutes les réponses (2)
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.
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: