One-finger scrolling on touch device

RESOLVED WORKSFORME

Status

()

Core
Event Handling
P2
normal
RESOLVED WORKSFORME
2 years ago
2 years ago

People

(Reporter: mmayer, Unassigned)

Tracking

46 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/51.0.2704.79 Chrome/51.0.2704.79 Safari/537.36

Steps to reproduce:

Environment:
Ubuntu 14.04.5 with XFCE on an ADStec all-in-one device

Steps:
1. Install firefox
2. Adress website
3. In the middle of the website, try to scroll the frame




Actual results:

Result:
Not scrollable by drag and move the content. Only possible by drag and move the scrollbar.



Expected results:

Expected behaviour:
Content should scroll when sliding with the fingers in the middle of the frame placed on a website.

This feature works fine with chromium, but firefox is our preffered browser.
(Reporter)

Updated

2 years ago
Priority: -- → P2

Updated

2 years ago
Component: Untriaged → Event Handling
Flags: needinfo?(botond)
You haven't said what version of Firefox you're running (the user-agent string you posted is a Chrome user-agent string).

Touch-scrolling support in Firefox on Linux requires the following:

  - Firefox needs to be built with GTK3 support.
    For official builds (downloaded from [1]), this is the case in Firefox 46 and later.
    For builds found in the package repositories of Linux distributions such as Ubuntu,
    it's up to the package maintainer whether they build Firefox with GTK3 support.

  - e10s mode needs to be enabled. 
    This is run-time setting. See [2] for how to check if it's enabled, and how to enable 
    it if it's not.
    It's recommended that you use Firefox 48 or later for a good experience with e10s.

  - Until bug 1170342 is fixed, MOZ_USE_XINPUT2=1 needs to be manually added to your
    environment. 

I'm going to close this bug as invalid under the assumption that at least one of the above conditions isn't being met in your case. If all three conditions are being met, and touch-scrolling is still not working, please feel free to re-open the bug and provide more details.

[1] https://www.mozilla.org/en-US/firefox/desktop/
[2] https://wiki.mozilla.org/Electrolysis#Testing
Status: UNCONFIRMED → RESOLVED
Last Resolved: 2 years ago
Flags: needinfo?(botond)
Resolution: --- → INVALID
(Reporter)

Comment 2

2 years ago
Thanks for the reply. The version is 48.0build2

The solution was to launch firefox with the following command:
"$MOZ_USE_XINPUT2=1 firefox"
Resolution: INVALID → WORKSFORME
You need to log in before you can comment on or make changes to this bug.