Excessive zooming with Logitech mouse
Summary
When zooming with Ctrl+scroll, Papers reacts to "high resolution scroll" events as if they were normal scroll events.
Description
I have a Logitech wireless mouse which supports high-resolution scrolling (via HID++), and its wheel sends multiple small scroll events per notch/click, in between the regular ones. Papers seems to treat them as if they were regular, though, and this makes zooming happen very fast – e.g. from 17% to 55% to 190% in just two notches – which is made extra frustrating that the "high-res" events do not 100% correspond to notch events (with this mouse at least, there's some +/- every time), so scrolling back doesn't even go to the same zoom level as before.
I'm not entirely sure if this is a GTK4 problem or an app-specific problem (GNOME Text Editor has a similar issue). This does not occur in Evince with GTK3. Scrolling of a PDF does not seem to have any problems either (it scrolls by a normal amount).
- org.gnome.Papers.Devel: master/45.0 (gnome-nightly flatpak)
- gtk4: 4.14.3