Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

Multi-touch not working in Linux Firefox 48

  • 2 antwurd
  • 1 hat dit probleem
  • 6 werjeftes
  • Lêste antwurd fan 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?

Alle antwurden (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.