abnormal zoom when zooming in certain areas
Describe the bug
see screencast
To Reproduce
not 100% reprducible afaict, see video
Expected behavior
current pointer position should be "center" of zoom
Console Output
$ flatpak --env=RUST_LOG=rnote=debug --env=RUST_BACKTRACE=1 run com.github.flxzt.rnote
2023-12-13T12:24:20.316Z DEBUG rnote > ... env_logger initialized
(rnote:2): Gtk-CRITICAL **: 13:24:20.824: gtk_widget_class_set_accessible_role: assertion '!gtk_accessible_role_is_abstract (accessible_role)' failed
Screenshots
Screencast from 2023-12-13 13-29-27.webm
this was on a brand new (and in all directions infinite) document
note how the abnormal bahviour sometimes just stops and the correct zooms take place
Desktop (please complete the following information):
- OS: ubuntu 23.10
- App Version: 0.9.3
- Installation Source: Flatpak
- Desktop Environment: Gnome 45.1
- Display Server: Wayland
- Input Source: Laptop trackpad
I think this might be related to, if not the same as, #885. I don't see the scrolling I described in that issue, but that might also be related to longer documents, and the issue might be the same.
Adding this just so there is more context to the issue :)