Important Notice: We're experiencing email notification issues. If you've posted a question in the community forums recently, please check your profile manually for responses while we're working to fix this.

On Monday the 3rd of March, around 5pm UTC (9am PT) users may experience a brief period of downtime while one of our underlying services is under maintenance.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Multi-touch not working in Linux Firefox 48

  • 2 답장
  • 1 이 문제를 만남
  • 1 보기
  • 최종 답변자: 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?

모든 댓글 (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.