Maximized size change in 1.12.0

*** Please report new bugs here! ***

Moderators: xnview, Dreamer

Tiffany
Posts: 18
Joined: Wed Jun 12, 2013 8:24 am

Maximized size change in 1.12.0

Post by Tiffany »

XnView MP 1.12.3 (also seen in 1.12.0), Windows 11 Pro, display 1920x1080, Windows scaling 100% (fit image to window, large only).

After upgrading from 1.9.5 to 1.12.3, images that used to fill the maximized viewer exactly now show a white border of about 1px on both the left and right sides. This did not happen in earlier versions.

It appears to have started with 1.12.0, the first Qt 6 build. The last Qt 5 build, 1.11.7, does not do this.

To reproduce:
1. Set Auto image size to [Fit image to window / your setting].
2. Open a 6109x3296 image in the viewer and maximize the window.
3. A thin white border appears on the left and right.

Expected: the image fills the viewer width, as in 1.11.7 and earlier.

The viewer area seems to have changed by about 1px. An image now has to be 6113x3296 to fill the width, where 6109x3296 used to be enough. It looks minor, but anyone with a large set of images cropped to the exact size the viewer needs has to redo them all.

Last good: 1.11.7 (Qt 5)
First bad: 1.12.0 (Qt 6)
Still present in: 1.12.3
jkm
Posts: 747
Joined: Sat May 11, 2024 12:43 am

Re: Maximized size change in 1.12.0

Post by jkm »

You can use the Qt5 version of 1.12.3

https://download.xnview.com/old_versions/XnView_MP/