1.9.5: Grid doesn't scale with zoom

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

Moderators: helmut, xnview, Dreamer

Post Reply
Supergeek
Posts: 1
Joined: Wed Oct 15, 2025 5:38 pm

1.9.5: Grid doesn't scale with zoom

Post by Supergeek »

XnView: MP 1.9.5 64 bit
OS: Windows 10 Pro 64 bit

The Grid displays subdivisions for an image based on the zoomed virtual resolution instead of scaling to show how the grid would divide up the original image.

Effect: grid spacing is incorrect when viewing files at anything other than 100% scale.


Screenshot 2025-10-15 134938.png
Screenshot 2025-10-15 134938.png (1.98 KiB) Viewed 43 times
Zoomed in at 800% should show a 4x4 grid, not this.
Screenshot 2025-10-15 135015.png
Screenshot 2025-10-15 135015.png (9.13 KiB) Viewed 43 times
To reproduce:
1. Set a grid spacing of anything, say 16 for example.
2. Zoom in your image to 200%
3. The grid lines will appear as if you had a spacing of 8.
4. Zoom in to 400%
3. The grid lines will appear as if you had a spacing of 4.
And so on.

Actual behaviour (bug): grid spacing doesn't scale properly :bug:

Expected behaviour: grid spacing should scale with the zoom level.
User avatar
user0
XnThusiast
Posts: 2569
Joined: Sat May 09, 2015 9:37 am

Re: 1.9.5: Grid doesn't scale with zoom

Post by user0 »

issue is that win dpi scale affects grid
eg same 20x20 image with same 10x10 grid:
1 - win dpi 100%
2 - win dpi 150%
grid_dpi_issue.png
grid_dpi_issue.png (1.02 KiB) Viewed 26 times
Post Reply