Closed Bug 1833232 Opened 1 year ago Closed 4 months ago

Swipe gestures not available in Flathub version

Categories

(Core :: Widget: Gtk, defect)

Firefox 113
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: felixetz2004, Unassigned)

References

(Blocks 1 open bug)

Details

Steps to reproduce:

I installed the Flathub version of Firefox on Linux. I wanted to use the swipe gestures for back, forward and zooming.

Note: I use an other version while reporting this bug.

Actual results:

All these gestures, (which work on every other Firefox installation, I think) doesn't work in this Flathub version.

Expected results:

The swipe gestures should have worked (two fingers from left to right to go back, two fingers from right to left to go forward and two fingers pinching for zooming).

I forgot to mention that I mean the touchpad-gestures of course...

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Navigation' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Navigation
Product: Firefox → Core
Component: DOM: Navigation → Widget: Gtk

AFAIK these gestures require either Wayland (MOZ_ENABLE_WAYLAND=1, enabled by e.g. Fedora) or Xinput2 (MOZ_USE_XINPUT2=1, also enabled in Fedora) - i.e. it's expected that they don't work in a stock environment. So this is probably just a duplicate of bug 1752398

(In reply to Robert Mader [:rmader] from comment #3)

AFAIK these gestures require either Wayland (MOZ_ENABLE_WAYLAND=1, enabled by e.g. Fedora) or Xinput2 (MOZ_USE_XINPUT2=1, also enabled in Fedora) - i.e. it's expected that they don't work in a stock environment. So this is probably just a duplicate of bug 1752398

I don't think that it is a problem of the environment. I have discovered this bug in Fedora, so I tried to reproduce it in the Firefox-Flatpak-version of Fedora Flatpak Repo and the swipe gestures worked fine. In the rpm-version the swipe gestures worked too. It is only a bug in the official Flathub-version.

(In reply to fazer227 from comment #4)

I don't think that it is a problem of the environment. I have discovered this bug in Fedora, so I tried to reproduce it in the Firefox-Flatpak-version of Fedora Flatpak Repo and the swipe gestures worked fine. In the rpm-version the swipe gestures worked too. It is only a bug in the official Flathub-version.

Well, the Fedora builds of Firefox - both flatpak and rpm - enable both Wayland and Xinput2. FTR. I can reproduce the issue here when running the official nightly with MOZ_ENABLE_WAYLAND=0 (nightly enables Wayland by default already).

(In reply to Robert Mader [:rmader] from comment #5)

Well, the Fedora builds of Firefox - both flatpak and rpm - enable both Wayland and Xinput2. FTR. I can reproduce the issue here when running the official nightly with MOZ_ENABLE_WAYLAND=0 (nightly enables Wayland by default already).

Yes, this is correct, we use the launch script which sets both: MOZ_USE_XINPUT2 and MOZ_ENABLE_WAYLAND. Setting the MOZ_USE_XINPUT2 for the flathub (x11) version enables pinch to zoom, but not the back/forward gestures. You can test by yourself by:

flatpak run --command=sh --env=MOZ_USE_XINPUT2=1 org.mozilla.firefox

Maybe we could enable at least MOZ_USE_XINPUT2 for the flathub flatpak?

Duplicate of this bug: 1855402
Depends on: 1836158

It seem like the bug is fixed however. Now the gestures work fine...

Depends on: 1870966
No longer depends on: 1836158

(In reply to fazer227 from comment #8)

It seem like the bug is fixed however. Now the gestures work fine...

May be caused by Wayland switch.

Status: UNCONFIRMED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.