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
there is already a flag available to control Lock zoom state persistence,
so its default value should be changed from TRUE (persistent) to FALSE (session-only)
Code: Select all
[Viewer] lockZoomFlag=true
Issue
there is also an inconsistency in the current implementation of Lock zoom persistence in Viewer:
- when Lock zoom is enabled, it takes effect immediately and affects the next image
- however, after restarting with Lock Zoom enabled, it does not override the Autozoom setting until zoom level is changed manually
This should be fixed as well, because if Lock zoom is enabled, it should always override Autozoom.
Related
- issues
- todo -
1.9.3 - viewer - auto zoom - 'Fit image to desktop' does not fit
1.5.5 - viewer - pan - issues with selection/zoom/fullscreen
- fixed -
1.9.8 - viewer - auto zoom - normal mode affects fullscreen (1.10.1)
1.8.3 - viewer - auto zoom - resets to 'No fit' (1.9.4)
1.7.1 - viewer - auto zoom - fit image to desktop issues (1.7.2)
1.4.4 - viewer - auto zoom - mode inherits from fullscreen (1.4.5)
- suggestion
Zoom - zoom lock - change state from persistent to session (current post)
StatusBar - viewer - zoom - improve controls
- done -
Viewer - auto zoom - swap 'Fit window to image' and 'Fit image to desktop' (1.7.2)
Zoom - group menu items (1.7.0)