Linux 0.39 Zoom + selection resize = crazy pan

Bugs and Suggestions in XnView MP or XnConvert MP which have been resolved.

Moderator: XnTriq

User avatar
ania
Posts: 13
Joined: Thu Apr 08, 2010 7:45 pm

Linux 0.39 Zoom + selection resize = crazy pan

Post by ania »

To recreate:
1. Make a large selection
2. Zoom to a selection border (its middle), so that only that border is visible and not the entire selection.
3. Grab and move the handle to resize the selection.

Result:
1. The zoomed region jumps (pans) to an unexpected place somewhere in the middle or opposite side of the image.
2. The selection resizes by the same unexpected span as it jumped.

Expected behaviour is that when I grab and move the handle, zoom and pan should not change.
There are no problems with corner handles, only the middle handles. Corners behave as expected.

XnView MP 0.39
OpenSuse 11.4, Gnome 2.32.1
User avatar
xnview
Author of XnView
Posts: 36865
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Linux 0.39 Zoom + selection resize = crazy pan

Post by xnview »

I can't reproduce. Could you post some screenshots?
Pierre.
User avatar
ania
Posts: 13
Joined: Thu Apr 08, 2010 7:45 pm

Re: Linux 0.39 Zoom + selection resize = crazy pan

Post by ania »

Sure.
I moved to OpenSuse 12.1 / KDE 4.7.2 meanwhile, but the same thing happens.

1 - large selection
Image

2 - zoom to the border (with ctrl+mousewheel, but I don't remember if the shortcut is standard)
and grab the handle
Image

3 - move the handle to the left -> instead of keeping the zoomed area "stable" (at least till I reach the left window border), it pans quickly to the left bottom side of the whole image.
(In the little preview it shows that it's still on the right side of the image, but if you look at the insect antenna, you'll recognize it belongs to the bottom left insect).
Image
User avatar
ania
Posts: 13
Joined: Thu Apr 08, 2010 7:45 pm

Re: Linux 0.39 Zoom + selection resize = crazy pan

Post by ania »

I tested this today on Windows XP 32 bit (and different hardware), and it's the same behaviour except that the little preview box disappears inbetween. So seems to be independent from OS, and you should be able to reproduce it.
(I forgot to mention my Linux is 64 bit).

Usually I use the "normal" XnView on Windows, there the behaviour is exactly as it should be.
Just out of curiosity, is it programmed in the same language as XnViewMP?
User avatar
xnview
Author of XnView
Posts: 36865
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Linux 0.39 Zoom + selection resize = crazy pan

Post by xnview »

Please check XnViewMP 0.48
Pierre.
User avatar
ania
Posts: 13
Joined: Thu Apr 08, 2010 7:45 pm

Re: Linux 0.39 Zoom + selection resize = crazy pan

Post by ania »

Works in 0.48, thanks!
(Windows 7)