Image doesn't move when selection dragging against some window edges

Bugs which have been reproduced by a second user or the developer, or features to do

Moderators: helmut, XnTriq, xnview, Dreamer

Anibina
Posts: 22
Joined: Fri Apr 26, 2019 7:53 am

Image doesn't move when selection dragging against some window edges

Post by Anibina »

XnView MP Windows
Version 1.0 64bits (Apr 28 2022)


The image doesn't move when a selection is dragged against the following window edges:
- The left and right edges when XnView MP is maximized
- All edges when XnView MP is fullscreen

The issue doesn't happen when XnView MP is unmaximized.

Because the image only moves when the selection is dragged past the window edges.


Effect:
Nothing happens


To reproduce:
1. Start XnView MP, maximized
2. Open an image that's larger than the monitor when the image is zoomed in to the middle
3. Zoom in to the middle of the image
4. Hold down the left mouse button to start drawing a selection
5. Move the mouse against the right window edge


Actual behaviour (bug):
Nothing happens :bug:


Expected behaviour:
The image should move to the left, so that the selection includes the part of the image that was outside the window's right edge.

Just like it does when the XnView MP window is unmaximized.


A possible solution:
Maybe the image should start moving when the selection is dragged within a couple of pixels from the window edges.


Notes:
The issue only occurs on the window's left and right edges when XnView MP is maximized.
It happens on all four window edges when the window is fullscreen.

If you're using multiple monitors, then the issue doesn't happen on the window edge, with another monitor past that edge.
User avatar
xnview
Author of XnView
Posts: 37769
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Image doesn't move when selection dragging against some window edges

Post by xnview »

right :bugconfirmed: image is not scrolled when making selection in maximized mode
Pierre.