Bug 257693

Summary: [GTK] touchpad zoom in pdf zooms in the ui, pixelates pdf
Product: WebKit Reporter: two
Component: PDFAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: alicem, mcatanzaro, thorton
Priority: P2    
Version: Other   
Hardware: PC   
OS: Linux   

Description two 2023-06-04 14:51:32 PDT
in GNOME's issues: https://gitlab.gnome.org/GNOME/epiphany/-/issues/2081
Comment 1 Alice Mikhaylenko 2023-09-24 15:51:19 PDT
Apple ports do support this, but looks like the relevant code in webkit is just stubbed for some reason, not sure why.

So we'd probably have to reimplement quite a lot here.
Comment 2 Michael Catanzaro 2023-09-25 09:22:35 PDT
If I hold Ctrl and scroll the mouse wheel, it zooms properly, integrated with PDF.js's zoom. So this bug is really specific to the touchpad gesture.
Comment 3 Alice Mikhaylenko 2023-09-25 09:45:10 PDT
Well yes, I mean touchpad zoom api is what we're missing.
Comment 4 Alice Mikhaylenko 2023-09-25 09:46:39 PDT
https://kenneth.io/post/detecting-multi-touch-trackpad-gestures-in-javascript here are specifics.

So we probably want to support the gesture events.