brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.85k stars 2.34k forks source link

Laptop Touchpad Gestures (Linux) - back and forward with 2 finger swipes #33120

Open bamtests opened 1 year ago

bamtests commented 1 year ago

Description

I am specifically using Fedora, but have tried this in Ubuntu and it is also an issue.
I would expect that the touchpad on a laptop can be used to go back and forward between web pages (same as the back and forward browser button actions) when swiping left or right with 2 fingers. This works in Firefox and is hugely beneficial and time saving when using a laptop.

Steps to Reproduce

  1. open browser
  2. navigate to any page
  3. attempt to use a 2 finger swipe left to go back to the previous page

Actual result:

Expected result:

Reproduces how often:

Brave version (brave://version info)

Brave 1.58.127 Chromium: 117.0.5938.88 (Official Build) unknown (64-bit)
Revision ed4ee11d4f6add8e0885cfab17943837d3d426c1
OS Linux

Version/Channel Information:

Other Additional Information:

Miscellaneous Information:

KEMEN0 commented 1 year ago

Hello @bamtests, Im not 100% sure but ive actually researched this topic a little before and what i found was that desktop environments such as plasma KDE and GNOME doesn't have full touchpad gesture support, and i personally had the same issue, so when started testing multiple desktop environments and window managers i found out that in the window manager "Hyprland" there is actual touchpad gesture support.

but i could be completely wrong so please correct me if im wrong :)

mak448a commented 7 months ago

Firefox has touchpad gestures in KDE and GNOME on Wayland, so I think they have full touchpad gesture support. @KEMEN0

mak448a commented 7 months ago

Workaround: https://www.reddit.com/r/gnome/comments/td8irt/touchpad_gestures_in_chromechromium/. Works perfectly with Brave, since Brave is Chromium based. Tested on KDE Plasma 5.27.11

detherminal commented 6 months ago

This also happens for me, I have just went from Firefox to Brave and I can't use it because of the lack of this feature. Fedora 39, Wayland, Gnome 45.5.

EDIT: I have made a workaround, see my gist: detherminal's Gist

mak448a commented 6 months ago

Unfortunately, using Brave with OzonePlatform set to Wayland makes it extra glitchy.