Pasting, selection disappears and starts from the top left

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

Moderators: XnTriq, helmut, xnview, Dreamer

User avatar
CreativeWorld
Posts: 132
Joined: Fri Dec 30, 2011 7:08 pm

Pasting, selection disappears and starts from the top left

Post by CreativeWorld »

I have tried this in xnview mp v0.61 on linux mint 15 32bit.

Copy a portion of an image,
make a new selection, and paste,
the selection disappears.

Now make a new selection and hold the cursor somewhere on the
selections edges or the middle while pasting,

the next selection one makes will start from the top left corner,
and depending on where on the selection one had the cursor when pasting,
the selection resizes differently and,
the statusbar shows the selection starting at one of four coordinates:
(0 0), (-1 0), (0 -1) or (-1,-1).

here's a video:

http://imageshack.us/clip/my-videos/18/ ... prhyo.mp4/

Description:

Here's what happens after one has had the cursor over the selection while pasting (ctrl + v),
and then holds down the left mouse button and starts drawing a new selection.

cursor over selections top left corner,
the selection starts at (-1 -1),
and one resizes using the bottom right corner.

cursor over selections top edge,
selection starts at (-1 -1),
it's 2 px wide,
and one resizes using the bottom edge.

cursor over selections top right corner,
the selection starts at (0 -1),
and one resizes using the bottom right corner.

cursor over selections right edge,
the selection starts at (0 -1),
it's 2 px tall,
and one resizes using the right edge.

cursor over selections bottom right corner,
the selection starts at (0 0),
and one resizes using the bottom right corner.

cursor over selections bottom edge,
the selection starts at (-1 0),
it's 2 px wide,
and one resizes using the bottom edge.

cursor over selections bottom left corner,
the selection starts at (-1 0),
and one resizes using the bottom right corner.

cursor over selections left edge,
the selection starts at (-1 -1),
it's 2px tall,
and one resizes using the right edge.

cursor on the middle of the selection (inside the selection edges),
the selections starts at (-1 -1),
it's 2px wide and 2 px tall,
one moves around the selection.

At the end of the video i show that when one pastes into a selection while
the cursor is outside the selection, then the next time one makes a selection,
it starts from the cursors position.


This does not happen in xnview 2.04 on wine 1.4.1,
because the selection stays after pasting.


I wonder these selection quirks i have found in xnview mp, are all related:

Resize selection handle, right and bottom edges offset

This also happens in xnview 2.04.
Mouse zooming, the selection and zoomed area jumps around

Selection dragging to window edges
User avatar
xnview
Author of XnView
Posts: 38817
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Pasting, selection disappears and starts from the top le

Post by xnview »

Pierre.