Bug 90562 - Copy-pasting two paragraphs from below frame also copy-pastes frame above them
Summary: Copy-pasting two paragraphs from below frame also copy-pastes frame above them
Status: RESOLVED DUPLICATE of bug 66065
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.7.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-11 04:41 UTC by Johnny
Modified: 2015-04-11 16:12 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
16-page article, copy-pasted from BBC web site (471.79 KB, application/vnd.oasis.opendocument.text)
2015-04-11 04:41 UTC, Johnny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johnny 2015-04-11 04:41:57 UTC
Created attachment 114733 [details]
16-page article, copy-pasted from BBC web site

Wanted to move two paragraphs from below a frame to above the frame, but Writer also copied the frame and pasted it as well. Frame wrapped "none" (first such frame on page 7 of attached document). This does not occur if only one paragraph is copy-pasted.

First observed with LibO 4.4.2.2, on a 64-bit Win7 laptop. Then checked with LibO 3.5.7.2 on a 32-bit Linux (Zorin) laptop.
Comment 1 A (Andy) 2015-04-11 08:35:13 UTC
Reproducible with LO 4.4.1.2, Win 8.1

Steps Done:
1. Open the attached file in WRITER
2. Go to page 7
3. Select the two paragraphs directly below the image (only them but not the picture above is selected) and copy/move them above the image

Result: 
If you paste the paragraphs directly after the sentence of the paragraph above (no additional line break) the image is also copied.  If you make UNDO then only the paragraphs but not image is removed back.
If you paste the paragraphs above the image with an additional line break then the image is also copied.  If you make UNDO then the pasted text and the wrongly copied picture is removed back.
Comment 2 Matthew Francis 2015-04-11 16:12:53 UTC
So what's actually going on here is that the frame is anchored to the first copied paragraph - it's just not easy to see that. 
(Copying up to one paragraph gets you text, copying more than one paragraph (including partial paragraphs - as long as the selection crosses more than one) get you the anchored objects of the paragraphs too.)

This boils down to the same issue as bug 66065

*** This bug has been marked as a duplicate of bug 66065 ***