Some tools (e.g. gimp or web maps) set the center of the zoom operation to the mouse pointer when the zoom is triggered by a (ctrl+) mouse-scroll. This is very convenient as it allows you to make sure to keep something in view when zooming in. Okular currently doesn't do this, but always zooms into/out of the center of the current view (which is fine for ctrl-+ / ctrl--). It'd be great if this could be implemented - thanks for considering :) (Evince seems to do this, this is the corresponding bug report: https://gitlab.gnome.org/GNOME/evince/-/issues/11)
Can you confirm that https://invent.kde.org/kde/okular/-/merge_requests/134 is what you want?
Yes, this is what I want, great! (though I haven't tried / built it)
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/912
Git commit 3e10990eb00ad8ba6f996af74bd7a52d78568ea5 by Sune Vuorela, on behalf of Alexis Murzeau. Committed on 03/07/2024 at 18:21. Pushed by sune into branch 'master'. When doing Ctrl+Wheel, zoom on pointer instead of the center of the screen The zoom is implemented using zoomWithFixedCenter so it zooms into the current mouse pointer location instead of zooming on the viewport center. M +21 -1 part/pageview.cpp https://invent.kde.org/graphics/okular/-/commit/3e10990eb00ad8ba6f996af74bd7a52d78568ea5