Page 1 of 1
0.99.7: 'Lock Zoom' option doesn't preserve position on right and bottom sides of images
Posted: Thu Feb 24, 2022 7:16 pm
by woot000
On XnView MP 0.99.7 (Windows 11 64-bit), setting the 'Lock zoom' option and scrolling between multiple images with the same width and height while on the right and/or bottom sides of the image will cause the position to move slightly.
XnView MP should retain the same position when going to different images with Lock zoom enabled, as it usually does when zoomed into any other part of the image.
Steps to reproduce:
1. Open an image in XnView MP with other images in the same folder that have the same width and height.
2. Set 'Lock zoom' to be enabled
3. Zoom in to the very bottom or right side of the image
4. Go to the next or previous image
This is how it looks on my end:

- demonstration of the lock zoom bug
Re: 0.99.7: 'Lock Zoom' option doesn't preserve position on right and bottom sides of images
Posted: Thu Feb 24, 2022 11:45 pm
by helmut
Thank you, woot000, for your perfect bug report. Everything decribed nicely and even samples attached.
I've downloaded your sample images and tried it out. When navigating through the images everything is smooth and without any offset. Question is why it works on my system but not on yours? Do you perhaps use a Windows (display) scaling other than 100%?
Re: 0.99.7: 'Lock Zoom' option doesn't preserve position on right and bottom sides of images
Posted: Fri Feb 25, 2022 12:27 am
by woot000
helmut wrote: Thu Feb 24, 2022 11:45 pm
Question is why it works on my system but not on yours? Do you perhaps use a Windows (display) scaling other than 100%?
Nah, I've got my scaling at 100%. I did reinstall Windows 11 recently, but this bug occured both before and after reinstalling the OS (I think this bug even happened to me on Windows 10 too, but I can't remember)
Re: 0.99.7: 'Lock Zoom' option doesn't preserve position on right and bottom sides of images
Posted: Mon Mar 14, 2022 9:49 am
by xnview
sorry but i can't reproduce, could post a screencast?
Re: 0.99.7: 'Lock Zoom' option doesn't preserve position on right and bottom sides of images
Posted: Tue Mar 15, 2022 12:04 am
by woot000
Just recorded a video of this bug happening with the test images, it's in the attachments
Re: 0.99.7: 'Lock Zoom' option doesn't preserve position on right and bottom sides of images
Posted: Sat Apr 02, 2022 9:31 am
by helmut
Thank you for the video, woot000, which clearly shows that there is a problem. As written above I tried hard to reproduce your problem but here it correctly and like a charm. My guess is that it has something to do with the display setup of Windows or graphic driver. Which screen resolution do you use? Windows scaling isn't activated (as you wrote above).
Re: 0.99.7: 'Lock Zoom' option doesn't preserve position on right and bottom sides of images
Posted: Sat Apr 02, 2022 3:54 pm
by woot000
I'm using the AMD Adrenalin GPU drivers (version 22.3.2 with an RX 580) on a 1920x1080 144Hz screen.
Re: 0.99.7: 'Lock Zoom' option doesn't preserve position on right and bottom sides of images
Posted: Sat Apr 09, 2022 12:31 pm
by helmut
woot000 wrote: Sat Apr 02, 2022 3:54 pm
I'm using the AMD Adrenalin GPU drivers (version 22.3.2 with an RX 580) on a 1920x1080 144Hz screen.
Thank you for the info, woot000. ATM, I have no clue why this works on my setup but doesn't work on your computer.