I'll record a video to show you exactly what I mean.
This new behavior breaks its usage.
user0 wrote: Sat Mar 30, 2024 5:47 pm
170 - it zooms to 100% zoomed-out AND zoomed-in image (regardless of app window size)
but I see no problem here
This *IS* a problem. It makes panning broken AFTER you've already zoomed in. When you click and drag, you have no idea where you're going because it abruptly zooms back to 100% (which ruins your target), and THEN when you release the mouse button it reverts back to the zoom-level that you WANTED to pan with. It's weird and jerky.
If I'm zoomed-in at 200%, I expect to be able to pan at this level: Panning around a 200% zoomed-in image. I
don't expect it to zoom-out to 100% then ricochet back to 200% depending on if I'm holding the mouse button or not. Now I'm not simply "panning". I'm playing a some weird FPS sniper-rifle "game" with XnViewMP...
This is very bad design.
With 1.6.5 and earlier, this was handled gracefully. (I attached a screenshot in my earlier post.)
If you're zoomed out smaller than 100% because of auto-fit? Then clicking the image and dragging the mouse will "Pan AND zoom". If you're already zoomed-in to a custom level? Then clicking the image and dragging the mouse will ONLY pan. (Obviously, because you've already zoomed-in to a desired custom level.) It won't "ricochet" back to 100% every time you click the mouse.
Good, 1.6.5:

- pan-and-zoom_1.6.5.png (25.86 KiB) Viewed 3417 times
Bad, 1.7.0:

- 1.7.0_breaks-workflow.png (40.12 KiB) Viewed 3417 times
And if you say "Then just set the left mouse button to only Move", it misses the point, because we had a perfectly good "Pan and Zoom" feature already available with 1.6.5, which we didn't have to do anything special. Is the picture shrunk/auto-fitted? It will automatically behave as a pan-and-zoom tool. Is the picture zoomed-in greater than 100%? It will behave as a graceful move tool, without ricocheting to 100% and then bouncing back after releasing the button.