0.99.7: 'Lock Zoom' option doesn't preserve position on right and bottom sides of images

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

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
woot000
Posts: 39
Joined: Thu Nov 19, 2020 12:36 am

0.99.7: 'Lock Zoom' option doesn't preserve position on right and bottom sides of images

Post 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
demonstration of the lock zoom bug
Attachments
testimages.zip
4 identically sized small images to test the bug with
(11.02 KiB) Downloaded 40 times
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.99.7: 'Lock Zoom' option doesn't preserve position on right and bottom sides of images

Post 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%?
woot000
Posts: 39
Joined: Thu Nov 19, 2020 12:36 am

Re: 0.99.7: 'Lock Zoom' option doesn't preserve position on right and bottom sides of images

Post 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)
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.99.7: 'Lock Zoom' option doesn't preserve position on right and bottom sides of images

Post by xnview »

sorry but i can't reproduce, could post a screencast?
Pierre.
woot000
Posts: 39
Joined: Thu Nov 19, 2020 12:36 am

Re: 0.99.7: 'Lock Zoom' option doesn't preserve position on right and bottom sides of images

Post by woot000 »

Just recorded a video of this bug happening with the test images, it's in the attachments
Attachments
2022-03-14_18-54-42.mp4
(1.88 MiB) Downloaded 42 times
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.99.7: 'Lock Zoom' option doesn't preserve position on right and bottom sides of images

Post 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).
woot000
Posts: 39
Joined: Thu Nov 19, 2020 12:36 am

Re: 0.99.7: 'Lock Zoom' option doesn't preserve position on right and bottom sides of images

Post by woot000 »

I'm using the AMD Adrenalin GPU drivers (version 22.3.2 with an RX 580) on a 1920x1080 144Hz screen.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.99.7: 'Lock Zoom' option doesn't preserve position on right and bottom sides of images

Post 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.
Post Reply