Let panning go past image edge so pan tool stops covering it

Ideas for improvements and requests for new features in XnView MP

Moderator: xnview

PYCHBI
Posts: 3
Joined: Wed Dec 24, 2025 1:03 pm

Let panning go past image edge so pan tool stops covering it

Post by PYCHBI »

When I zoom in to inspect an image, its bottom-right corner always ends up right in the bottom-right corner of the window — exactly where the pan tool is drawn. The image can't be dragged any further, either: its edges are clamped inside the window, with no gap allowed. So those pixels are permanently covered by the pan tool.
1.jpg
What I'd like (see 2.jpg) is to be able to pan past that limit when zoomed in, so a gap can be opened up between the image edge and the window edge. Right now the image can only be panned within the window — its edges are always kept inside it — so the image edge and the window edge stay stuck together. If I could pan further, I'd simply pull that corner away from the pan tool, and it would no longer cover the image at all.
2.jpg
This is the same request as viewtopic.php?t=49994, just from a different angle: the pan tool turns it into a permanent, everyday problem. Making the pan tool movable would only be a second-best alternative.

Related: t=49994, t=40688 (padding around the image), t=36264 (movable pan tool).

Please don't reply with:

"Then don't zoom in." I zoom in because I need to read information in the picture that's unreadable at fit-to-window size. That's the whole point.

"Just make the pan tool smaller, or turn it off." Neither is a fix. A smaller tool only shrinks the covered area, it never reaches zero. Turning it off removes the orientation overview I actually use.

Thanks!
You do not have the required permissions to view the files attached to this post.
jkm
Posts: 779
Joined: Sat May 11, 2024 12:43 am

Re: Let panning go past image edge so pan tool stops covering it

Post by jkm »

The program element that you're referring to as the "pan tool" is actually called the "Navigator" (Settings:Viewer:Zoom:Show Navigator). To ask for changes for something, better to refer to it correctly. (And this post should be in Suggestions).

I agree with you that there is a minor annoyance here.

But to me, having the Navigator move outside the boundaries of the image would be the bigger annoyance; doing it by default it would really be intolerable.

And consider the design of the Navigator: the image fits exactly within its boundaries. So how exactly to allow it to move further, that makes sense considering the design? Track the position of the pointer instead of the bounding box (the red outline that represents the viewport), so the pointer can't leave the edges but the larger bounding box can? Unlimited panning based on mouse movement? A short delay when the bounding box reaches the edge of the image, and then it moves further if the user keeps the mouse button held and moving? There's more than one way it could be done...

I personally think the better alternative is the one you think is second best: make the Navigator movable. It's intuitive, lacks the complications such as I mentioned above, and solves the issue most of the time for most people.

But perhaps a modifier key is the best approach. I could support allowing "extraterritorial" panning when Control+LMB is used to drag the bounding box. Then at least it would be a deliberate act. I think that would be preferable to having another option to change the default behavior; there is a feeling that the app has too many options already, so more should not be added if there's a clean way to avoid it. I think CTRL+drag would be a clean way.