1.8.3 - View - Zoom

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

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
Sajan
Posts: 9
Joined: Sun Oct 13, 2024 8:28 am

1.8.3 - View - Zoom

Post by Sajan »

When I do manual Zoom In or Zoom Out in "Fit window to image" mode, window stretches or shrinks according to image size * zoom factor. But sometimes scrollbars appear. And when I stretch window size by mouse drag on 1 pixel more large, scroll bars disappear. Most often I see this on 51% zoom.
Also shoudn't manual Zoom Out twice change zoom factor from 100% to 50%? But it is 51%. Seems to be zoom factor float ceiling instead of rounding issue. If ceiling is necessary, maybe ceil of (ZoomFactor - 0.001) could help.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.8.3 - View - Zoom

Post by xnview »

do you have a way to reproduce it?
Pierre.
Sajan
Posts: 9
Joined: Sun Oct 13, 2024 8:28 am

Re: 1.8.3 - View - Zoom

Post by Sajan »

I have explored this issue a little bit more and found, that this issue is actual only on Windows 7 with scaling 125%. But on Windows 7 with scaling 100% and on Windows 10 with scaling 125% all is OK.
So, XnView on Windows 7 with scaling 125% showing attached file "boot1080.gif" have scrollbars on single Zoom Out (100%->71%).
And XnView on Windows 7 with scaling 125% showing attached file "Vector_Video_Standards_3.PNG" have scrollbars on double Zoom Out (100%->51%).
Attachments
Vector_Video_Standards_3.PNG
boot1080.gif
boot1080.gif (5.86 KiB) Viewed 800 times
Post Reply