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

[Feature Request] Zoom and pan with touchpad gestures #15787

Open
ratijas opened this issue Feb 2, 2025 · 2 comments
Open

[Feature Request] Zoom and pan with touchpad gestures #15787

ratijas opened this issue Feb 2, 2025 · 2 comments

Comments

@ratijas
Copy link

ratijas commented Feb 2, 2025

Expected behavior of the wanted feature

Let's make it possible to zoom and pan via multitouch (2 fingers) gestures on a touchpad on desktop platforms.

At least on Linux pinch events from libinput can be used, which I believe is what Firefox doing: GESTURE_PINCH_BEGIN, GESTURE_PINCH_UPDATE and GESTURE_PINCH_END. Other major platforms such as OS X and Windows surely provide their own system API as well.

Use case: watching 4K footage on a FullHD monitor, quickly zooming in to see the details.

Alternative behavior of the wanted feature

No response

Log File

No response

Sample Files

No response

@Akemi
Copy link
Member

Akemi commented Feb 2, 2025

btw, on macOS this already changes the window size (changes the window scale).

@ratijas
Copy link
Author

ratijas commented Feb 4, 2025

I must admit, I haven't used OS X in years, and I'm mainly interested in Linux platform (mostly X11, but aren't they all libinput anyways?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants