Open subnut opened 2 years ago
Implement pinch zooming, i.e. pinch out to zoom in, and pinch in to zoom out in a webpage without reflowing the contents of the webpage (ie. how pinch-zooming works on firefox in Wayland)
Support for touchpad gestures under X11 (XServer 21.1) has been recently added to GTK
I was wondering if we could use this to add pinch-zooming to the web browser. Currently no browser supports pinch-zooming under Xorg
Firefox (under Wayland) GNOME Web/Epiphany (under Wayland)
WebKit just uses a GtkGestureZoom. I believe you need https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3610 and that's it. (well, and the corresponding xinput stuff etc)
GtkGestureZoom
Problem
Implement pinch zooming, i.e. pinch out to zoom in, and pinch in to zoom out in a webpage without reflowing the contents of the webpage (ie. how pinch-zooming works on firefox in Wayland)
Proposal
Support for touchpad gestures under X11 (XServer 21.1) has been recently added to GTK
I was wondering if we could use this to add pinch-zooming to the web browser. Currently no browser supports pinch-zooming under Xorg
Prior Art (Optional)
Firefox (under Wayland) GNOME Web/Epiphany (under Wayland)