2.37: Marquee selection + TAB = drawing bugs (FIXED)

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, helmut, xnview

Dstruct
Posts: 233
Joined: Fri May 02, 2008 9:27 am

2.37: Marquee selection + TAB = drawing bugs (FIXED)

Post by Dstruct »

XnView 2.37

- load picture
- draw marquee selection and keep mouse-button pressed
- hit TAB key

- draw another marquee selection and keep mouse-button pressed
- hit TAB key


and so on.

Result:
selection.png
FIXED (2.40)
Last edited by Dstruct on Thu Apr 20, 2017 11:24 pm, edited 1 time in total.
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 2.37: Marquee selection + TAB = drawing bugs

Post by helmut »

I could reproduce your bug, Dstruct. :bugconfirmed:

The important bit is that you keep the mouse button all the time and then press Tab key (while mouse button is still pressed). To me it looks as if XnView doesn't update internal selection coordinates until you release the mouse button. This means when keeping mouse button pressed and hitting "Tab" key not the current selection but the previous selection's ratio is toggled.
Dstruct
Posts: 233
Joined: Fri May 02, 2008 9:27 am

Re: 2.37: Marquee selection + TAB = drawing bugs

Post by Dstruct »

Thanks for reproducing!

FIXED (2.40)
Last edited by Dstruct on Thu Apr 20, 2017 11:24 pm, edited 1 time in total.
ckit
XnThusiast
Posts: 2557
Joined: Tue Feb 17, 2004 1:11 am
Location: Cabarlah, Australia

Re: 2.37: Marquee selection + TAB = drawing bugs

Post by ckit »

This is still present in v2.38 but left or right clicking anywhere on the picture afterwards clears the problem for me.
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz
Windows 11 Pro x64 23H2, PowerToys and Wintoys