achuanle / umlet

Automatically exported from code.google.com/p/umlet
0 stars 0 forks source link

Dragging copied object should not move line ending. #167

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create two rectangles on top of each other.
2. Draw a line between them.
3. Duplicate the top rectangle.
4. Drag the copy.

What is the expected output? What do you see instead?
Expected: The line should not move. 
Instead: The line ending moves with the newly copy.

What version of the product are you using? On what operating system?
Windows 8.1 UMLet 12.2

You must carefully align the objects so that a side of the copied rectangle 
matches the line ending. It might work better with complex objects.

The same is when you copy a lot of objects and lines and paste that (partly) 
over the drawing. When you drag the copy a lot of lines could move in this case.

Original issue reported on code.google.com by woomla on 13 Jan 2014 at 3:58

Attachments:

GoogleCodeExporter commented 9 years ago
some versions ago we already had a similar feature implemented, but it 
introduced weird behaviour in specific situations
e.g.: you copy and paste a class, move a relation to it and move the class -> 
it will not stick because it's the first move after the copy

therefore we used a different approach and implemented a button to temporarily 
disable sticking while moving.
So beginning with v13 (will be released very soon) you can hold "shift" to move 
or resize elements without moving sticking elements.

Original comment by AFDiaX on 6 Sep 2014 at 7:06