Bug 421484

Summary: Center viewport at mouse position during Ctrl-scroll zoom
Product: [Applications] okular Reporter: Nicolas Dietrich <nidi>
Component: generalAssignee: Okular developers <okular-devel>
Status: ASSIGNED ---    
Severity: normal CC: nate, null, oliver.sander
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In:

Description Nicolas Dietrich 2020-05-13 21:54:31 UTC
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)
Comment 1 Oliver Sander 2020-05-14 05:50:14 UTC
Can you confirm that

  https://invent.kde.org/kde/okular/-/merge_requests/134

is what you want?
Comment 2 Nicolas Dietrich 2020-05-14 10:28:21 UTC
Yes, this is what I want, great! (though I haven't tried / built it)
Comment 3 Bug Janitor Service 2024-01-14 15:43:28 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/912