Issue 125533

Summary: Copy/paste changes position for line+ends or multi-selection with thick lines or line+ends
Product: Draw Reporter: Joe Smith <jes>
Component: uiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: oooforum, openoffice
Version: 4.1.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Description Flags
Draw document for testing none

Description Joe Smith 2014-08-28 20:19:51 UTC
Created attachment 83902 [details]
Draw document for testing

Copy/paste should create a duplicate of the selection, at the same position.

In some situations, the pasted object(s) have a different position.

At least:
* lines with end shape
* multiple selections that include a thick line or line with end shape, where the line thickness or end shape contributes to the selection's bounding box.

Steps to reproduce:
1) Open the attached document.
2) Select the blue box and the thick black line together.
Note: Position (x,y)=(10,20) See status bar.
3) Copy, paste

Expected: Pasted objects should have the same position

Actual:Pasted objects' position is now offset and off-grid at 10,19.51

4) Same steps for each line at right, or both lines together:
Pasted lines are offset -1.24 mm

Same behavior in AOO 4.0.1 and 4.1.1 (on Fedora Linux)

OOO 3.11 works correctly--pasted selections all retain their positions.

Edit > Duplicate ...

Discussion on OO forum:
Comment 1 oooforum (fr) 2014-08-29 07:34:04 UTC
Same behavior with Writer and reported with issue 115508