Page 1 of 1
"Fit image to window" in the settings menu doesn't work
Posted: Sun Feb 19, 2023 6:37 pm
by Jonni_5
I've set the "Auto image size"-setting in Settings>View and Setting>Fullscreen to "Fit image to window, large only", but XnView ignores this when starting XView (for example by double clicking an image in the windows explorer), images are displayed 1:1 until I manually choose "Fit image to window, large only" in the view menu.
Version: 1.4.2, Windows
Re: "Fit image to window" in the settings menu doesn't work
Posted: Thu Mar 02, 2023 2:28 pm
by xnview
when you restart, the setting is correct?
Re: "Fit image to window" in the settings menu doesn't work
Posted: Thu Mar 02, 2023 4:03 pm
by winnylinny
Are you using any scaling options in Windows?
Re: "Fit image to window" in the settings menu doesn't work
Posted: Thu Mar 02, 2023 4:45 pm
by Jonni_5
xnview wrote: Thu Mar 02, 2023 2:28 pm
when you restart, the setting is correct?
No, that doesn't make any difference
winnylinny wrote: Thu Mar 02, 2023 4:03 pm
Are you using any scaling options in Windows?
You mean the scaling in the windows display settings? Yes. But I deactivated them as a test, same behaviour
To clarify I added two screenshots, one of the settings and one of the view menu when I open up an image.

- AutoImageSize01.png (19.26 KiB) Viewed 971 times

- AutoImageSize02.png (17.04 KiB) Viewed 971 times
Re: "Fit image to window" in the settings menu doesn't work
Posted: Thu Mar 02, 2023 5:05 pm
by xnview
Jonni_5 wrote: Thu Mar 02, 2023 4:45 pm
xnview wrote: Thu Mar 02, 2023 2:28 pm
when you restart, the setting is correct?
No, that doesn't make any difference
I means 'Settings>View-auto image size' is correct?
winnylinny wrote: Thu Mar 02, 2023 4:03 pm
To clarify I added two screenshots, one of the settings and one of the view menu when I open up an image.
Really strange.
You start XnView, 'Settings>View-auto image size' is on 'Fit image to windows, large', click on a thumbnail to open a tab, and you have not the good value in 'View>Auto image size' menu?
I can't reproduce, could you send me your xnview.ini?
Re: "Fit image to window" in the settings menu doesn't work
Posted: Sat Mar 04, 2023 5:29 pm
by Jonni_5
xnview wrote: Thu Mar 02, 2023 5:05 pm
I means 'Settings>View-auto image size' is correct?
It is correct in the settings menu, but not in the actual view mode when I open an image
xnview wrote: Thu Mar 02, 2023 5:05 pm
You start XnView, 'Settings>View-auto image size' is on 'Fit image to windows, large', click on a thumbnail to open a tab, and you have not the good value in 'View>Auto image size' menu?
Exactly.
I attached the ini file.
Re: "Fit image to window" in the settings menu doesn't work
Posted: Sun Mar 05, 2023 8:24 am
by xnview
please uncheck 'lock zoom'
Re: "Fit image to window" in the settings menu doesn't work
Posted: Sun Mar 05, 2023 7:50 pm
by Jonni_5
xnview wrote: Sun Mar 05, 2023 8:24 am
please uncheck 'lock zoom'
You're right, that did the trick.
Thank you!