Zoom - zoom lock - change state from persistent to session

Ideas for improvements and requests for new features in XnView MP

Moderator: xnview

User avatar
user0
XnThusiast
Posts: 2948
Joined: Sat May 09, 2015 9:37 am

Zoom - zoom lock - change state from persistent to session

Post by user0 »

XnViewMP 1.11.2
Windows11 (25H2), display resolution 3840x2160, win scaling 150%


Viewer / Browser-preview
app keeps the 'Lock zoom' state enabled after restart, which is inconvenient because:
- only options from the Settings menu should be persistent (also state from one Viewer tab should not carry over to newly opened one)
- 'Lock zoom' is temporary by nature and does not seem suitable as a persistent setting
- for persistent behavior, 'No fit' auto-zoom could be used instead (though ideally it should zoom to 100% only, but that is a separate issue)


Suggestion
  • change 'Lock zoom' state from persistent to session only
    reset it to disabled when reopening a tab if the session was not saved








Related
jkm
Posts: 550
Joined: Sat May 11, 2024 12:43 am

Re: Zoom - zoom lock - change state from persistent to session

Post by jkm »

user0 wrote: Thu May 28, 2026 5:59 am XnViewMP 1.11.2
Windows11 (25H2), display resolution 3840x2160, win scaling 150%


Viewer / Browser-preview
app keeps the 'Lock zoom' state enabled after restart, which is inconvenient because:
- only options from the Settings menu should be persistent (also state from one Viewer tab should not carry over to newly opened one)
- 'Lock zoom' is temporary by nature and does not seem suitable as a persistent setting
It's not only Settings menu items that persist..

Other things are also remembered in the viewer, even across restarts, even though they do not have a direct entry in Settings. Examples:
-Info Overlay visibility (in tabbed viewer, not fullscreen)
-Histogram visibility
-Shadow/Highlight clipping

Lots of things persist in this way. I don't think they all need individual items in the Settings dialog.

Whether lock zoom should be persistent is really a matter of individual taste. It does not seem to me that it cries out to be treated differently than things like I listed above...
User avatar
user0
XnThusiast
Posts: 2948
Joined: Sat May 09, 2015 9:37 am

Re: Zoom - zoom lock - change state from persistent to session

Post by user0 »

jkm wrote: Thu May 28, 2026 8:37 pm Whether lock zoom should be persistent is really a matter of individual taste.
there is no room for 'individual taste' here

'Zoom lock' is standard functionality in image viewers that temporarily overrides other zoom modes.
And, as I already mentioned, there is other, more logical way to achieve the same zoom behavior.

jkm wrote: Thu May 28, 2026 8:37 pm It's not only Settings menu items that persist..
Comparing a complex zoom mechanic to simple toggles makes no sense.
Also, the fact that a few simpler features do not follow consistent session/persistence logic is outside the scope of this post.

related
1.5.5 - viewer - info - settings conflict in fullscreen