Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

Toutes les réponses (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