Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hold gestures to Linux Wayland #6603

Open
elcste opened this issue Jan 24, 2025 · 0 comments
Open

Add hold gestures to Linux Wayland #6603

elcste opened this issue Jan 24, 2025 · 0 comments

Comments

@elcste
Copy link

elcste commented Jan 24, 2025

Problem description

Build 4180 added kinetic scrolling for Linux under Wayland. This is great but like most Linux kinetic scrolling until recently, it is missing hold gestures. A hold gesture is touching two fingers down on the touchpad to stop that kinetic scroll "fling" motion.

MacOS has had this feature since they implemented kinetic scrolling, copying touchscreens. For whatever reason, the Linux stack (Libinput, GTK) didn't include hold gesture support until more recently. Libinput now has support but GTK only added support with GTK 4.

Preferred solution

Firefox, which like Sublime Texts uses some GTK and is using GTK 3 had wanted to include hold gestures. Firefox devs created a patch but the GTK devs say they won't add new features to GTK 3. But Firefox devs then managed to implement hold gestures in Firefox without GTK 3 support (see Firefox bug 1568722) and this was released in version 134.

I know enough to know that I don't know 😉 if Sublime Text uses GTK similarly to Firefox, but maybe their work can be useful for the ST devs.

Alternatives

Port to GTK4? 😱

Additional Information

No response

@elcste elcste changed the title Add hold gesture support to Linux Wayland Add hold gestures to Linux Wayland Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant