sumatrapdf icon indicating copy to clipboard operation
sumatrapdf copied to clipboard

Incorrect center of zoom when pinching to zoom

Open EpicWolverine opened this issue 10 years ago • 5 comments

When zooming with a mouse (Ctrl+Scroll wheel), the PDF is zoomed by using the position of the mouse pointer as the center of the zoom as expected. However, when pinching to zoom with a touchscreen, the center of zoom is in the upper left corner, not the midpoint between the fingers. This makes pinching to zoom confusing and frustrating to use.

EpicWolverine avatar Mar 29 '16 15:03 EpicWolverine

@kjk duplicate of https://github.com/sumatrapdfreader/sumatrapdf/issues/953 but this may be better description ?

GitHubRulesOK avatar Jan 01 '19 14:01 GitHubRulesOK

@kjk directly related to #439 where zoom using plus and minus is applied in similar fashion

GitHubRulesOK avatar Dec 15 '19 20:12 GitHubRulesOK

Related forum topic: https://forum.sumatrapdfreader.org/t/pinch-to-zoom-and-pan-like-microsoft-edge/2784

SumatraPeter avatar May 07 '20 17:05 SumatraPeter

Fixed by https://github.com/sumatrapdfreader/sumatrapdf/commit/485817ee9eb392e1f1b831c72ab936ec30d07d98

kjk avatar May 11 '24 00:05 kjk

Thank you!

EpicWolverine avatar May 11 '24 07:05 EpicWolverine