Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

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

Multi-touch not working in Linux Firefox 48

  • 2 réponses
  • 1 a ce problème
  • 6 vues
  • Dernière réponse par danielb5

more options

Hello,

I am attempting to capture multi-touch gestures on a touch-screen laptop in Linux Firefox 48.0.2. Multi-touch gestures can be captured by Linux Firefox releases built with GTK3, like Firefox 48 (ticket that states multi-touch events supported by GTK3 Linux Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=978679).

I have set the flag "dom.w3c_touch_events.enabled" to true and have set "MOZ_USE_XINPUT2=1" in my environment, both of which are necessary for capturing multi-touch gestures. I am able to successfully capture the gestures with the nightly build of Firefox, but not release 48. This is confusing, as each are built with GTK3 and should support multi-touch gestures. Can anyone help with this?

Hello, I am attempting to capture multi-touch gestures on a touch-screen laptop in Linux Firefox 48.0.2. Multi-touch gestures can be captured by Linux Firefox releases built with GTK3, like Firefox 48 (ticket that states multi-touch events supported by GTK3 Linux Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=978679). I have set the flag "dom.w3c_touch_events.enabled" to true and have set "MOZ_USE_XINPUT2=1" in my environment, both of which are necessary for capturing multi-touch gestures. I am able to successfully capture the gestures with the nightly build of Firefox, but not release 48. This is confusing, as each are built with GTK3 and should support multi-touch gestures. Can anyone help with this?

Toutes les réponses (2)

more options

Ok, open Firefox, and enter about:config in the address bar, then in the filter box, put browser.gesture, that will bring up all the touch gestures for Firefox. Once you have the touch settings showing, look for browser.gesture.pinch.in and set the value to cmd_fullZoomReduce, that should give you the zoom out, and to get the zoom in, look for browser.gesture.pinch.out and set that value to cmd_fullZoomEnlarge. Once you have those values set, there are 2 more settings you have to change. The next one you want to look for is browser.gesture.pinch.latched by default it's set to true you want to change that to false, then go to browser.gesture.pinch.threshold, which is set to 150 by default, you want to change that value to 10.


Report back whether it worked or not

more options

I have changed the about:config settings, however, multi-touch still does not work in my browser. Firefox does recognize the tap and long-press gestures just not multi-touch gestures such pinch or a two-fingered swipe. Thus it seems that Firefox is having trouble detecting multiple points touching the screen simultaneously. I have tested a multi-touch demo with the Chromium browser and have verified it is not an issue with my system.

Furthermore, the default values were not as you suggested. the browser.gesture.pinch.latched was set to false by default and browser.gesture.pinch.threshold was set to 25 by default. I am not sure if this is of any interest, but I thought I should mention it.