Preserve zoom level from image to image?

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

User avatar
lphilpot
Posts: 48
Joined: Wed Oct 05, 2016 2:49 am

Preserve zoom level from image to image?

Post by lphilpot »

Is there a way to preserve the zoom level and position when moving from image to image? For example, I use XnView MP to initially review and cull raw photos before I edit them. To do that I double click the thumbnail, hit asterisk to zoom to 100% and check for focus, etc. Then I move to the next image. It would be nice if the zoom level and position would stay the same when I hit the right arrow key or toolbar button to move to the next image.

Thanks.
Len Philpot
cday
XnThusiast
Posts: 3460
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Preserve zoom level from image to image?

Post by cday »

lphilpot wrote: Tue Jul 12, 2022 2:09 am Is there a way to preserve the zoom level and position when moving from image to image? For example, I use XnView MP to initially review and cull raw photos before I edit them. To do that I double click the thumbnail, hit asterisk to zoom to 100% and check for focus, etc. Then I move to the next image. It would be nice if the zoom level and position would stay the same when I hit the right arrow key or toolbar button to move to the next image.
There is View > Lock zoom ... :D

I'm not sure whether the position is also locked, perhaps you could report back on that...
User avatar
lphilpot
Posts: 48
Joined: Wed Oct 05, 2016 2:49 am

Re: Preserve zoom level from image to image?

Post by lphilpot »

Lock zoom appears to have no effect:

1. Double click image #1 to view full screen (22% on my computer)
2. Press * to zoom to 100%
3. Select View | Lock Zoom (menu icon is highlighted)
4. Click the right arrow button or press right arrow key to go to image #2
5. Image is at 22% zoom (menu icon is still highlighted)
6. Click the left arrow button or press left arrow key to go back to image #1
7. Image is at 22% zoom (menu icon is still highlighted)

No matter how, or in what context, I select Lock Zoom does it appear to have any effect. Am I misunderstanding what it's supposed to do?

XnView MP 1.0 on Windows 11
Len Philpot
cday
XnThusiast
Posts: 3460
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Preserve zoom level from image to image?

Post by cday »

Not an option I have used recently, but checking using my own sequence of actions:

In XnView Classic Lock zoom seems to work as I understand you to expect;

In XnView MP I think there could presently be an incompatibility between Lock zoom and fullscreen view, possibly only one or the other is available?
User avatar
xnview
Author of XnView
Posts: 38714
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Preserve zoom level from image to image?

Post by xnview »

do you have 'Settings>View>Reset auto image size setting....' ?
Pierre.
User avatar
lphilpot
Posts: 48
Joined: Wed Oct 05, 2016 2:49 am

Re: Preserve zoom level from image to image?

Post by lphilpot »

That was it, kind of. Reset was enabled. If I turn that off and enable Lock Zoom on an image it maintains the zoom level when moving forward / backward.

However, I have to explicitly enable Lock Zoom each time I change to a new "starting" image, a new folder, etc. Is there a way to make Lock Zoom the default (persistent) behavior?

Thanks.
Len Philpot
User avatar
xnview
Author of XnView
Posts: 38714
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Preserve zoom level from image to image?

Post by xnview »

lphilpot wrote: Wed Jul 20, 2022 2:41 pm That was it, kind of. Reset was enabled. If I turn that off and enable Lock Zoom on an image it maintains the zoom level when moving forward / backward.

However, I have to explicitly enable Lock Zoom each time I change to a new "starting" image, a new folder, etc. Is there a way to make Lock Zoom the default (persistent) behavior?
You need to change in .ini

Code: Select all

lockZoomFlag=true
BUT
there is an issue.
Pierre.
User avatar
lphilpot
Posts: 48
Joined: Wed Oct 05, 2016 2:49 am

Re: Preserve zoom level from image to image?

Post by lphilpot »

OK, I've made the ini edit, I'll wait for 1.01 to be released (I assume it's not yet available).'

Thanks.
Len Philpot
User avatar
lphilpot
Posts: 48
Joined: Wed Oct 05, 2016 2:49 am

Re: Preserve zoom level from image to image?

Post by lphilpot »

One other question / clarification, please.

I now have the behavior I like: When viewing an image the current zoom level (whatever it may be) is maintained as I navigate back and forth in view mode, from image to image. Perfect! :)

I have "Fit image to window, large only" chosen as the Auto Image Size setting (Settings | View | View). "Reset 'Auto Image size' setting with next/previous file" is not enabled. However, when an image is viewed it always defaults to 100%, not "fit to window".

I've tried turning Zoom Lock off then reducing the zoom level to 'fit', then turning it back on, etc. But no matter what I do when an image is opened (viewed) it's always at 100% zoom. Do I have something set wrong that's overriding?

Thanks.
Len Philpot
User avatar
xnview
Author of XnView
Posts: 38714
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Preserve zoom level from image to image?

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.01. Please check and confirm the bug fix here.
Pierre.
User avatar
lphilpot
Posts: 48
Joined: Wed Oct 05, 2016 2:49 am

Re: Preserve zoom level from image to image?

Post by lphilpot »

I've upgraded to 1.0.1, but it still defaults to 100%. If I turn Lock Zoom off, it starts as configured: Fit to Window, Large Only (but of course, the zoom level changes between images). If Lock Zoom is on, regardless of the last zoom level it always defaults to 100%. I tried setting Fit to Window, All Images, but no difference.

So to achieve the behavior I prefer, I would have to turn Lock Zoom off, view the first image, turn Lock Zoom on, navigate to other images, then before closing the last image, turn Lock Zoom off again. So the preference itself is working, but Lock Zoom being on is somehow overriding the behavior on the first image opened.

This is on Windows 11.

Thanks.
Len Philpot