"Fit image to desktop, all" doesn't stretch small

Bugs found in XnView Classic. Please report only one bug per topic!

Moderator: xnview

raga
Posts: 19
Joined: Tue Jun 21, 2005 6:16 pm

"Fit image to desktop, all" doesn't stretch small

Post by raga »

Open a small image with Auto Image Size set to "Fit image to desktop, all".

This resizes the program window but doesn't stretch the image itself. So you get a tiny image in a huge program window.

Is this intended behavior?
ckit
XnThusiast
Posts: 2586
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

Post by ckit »

I don't have the problem you have.
Do you have "Maximize View when Open" enabled?
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 25H2, MS PowerToys, Process Lasso Pro and Wintoys
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: "Fit image to desktop, all" doesn't stretch sm

Post by marsh »

raga wrote:Open a small image with Auto Image Size set to "Fit image to desktop, all".

This resizes the program window but doesn't stretch the image itself. So you get a tiny image in a huge program window.

Is this intended behavior?
I'm seeing the same thing. I expect it to stretch small images. 'Maximize View when Open' has no effect here. Compare this function to "Fit image to desktop, large only"- it treats images the same way, but viewer window is not expanded as much on small images.
raga
Posts: 19
Joined: Tue Jun 21, 2005 6:16 pm

Post by raga »

ckit wrote:Do you have "Maximize View when Open" enabled?
Yes.
raga
Posts: 19
Joined: Tue Jun 21, 2005 6:16 pm

Re: "Fit image to desktop, all" doesn't stretch sm

Post by raga »

marsh wrote:Compare this function to "Fit image to desktop, large only"- it treats images the same way, but viewer window is not expanded as much on small images.
Yes, "Fit image to desktop, large only" also behaves rather strange with small images.