Bug 104669 - FILEOPEN DOCX Image from the middle of document appears at the end of the document
Summary: FILEOPEN DOCX Image from the middle of document appears at the end of the doc...
Status: RESOLVED DUPLICATE of bug 96218
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2016-12-14 09:16 UTC by Gabor Kelemen (allotropia)
Modified: 2016-12-14 11:37 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
The problematic document (174.46 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2016-12-14 09:16 UTC, Gabor Kelemen (allotropia)
Details
Original document in odt (194.07 KB, application/vnd.oasis.opendocument.text)
2016-12-14 09:17 UTC, Gabor Kelemen (allotropia)
Details
Side by side image of the odt and docx after reopening in LO master (456.05 KB, image/png)
2016-12-14 09:19 UTC, Gabor Kelemen (allotropia)
Details
Screenshot of the document in LO 5.1.4 and Word 2013 side by side (343.80 KB, image/png)
2016-12-14 09:21 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2016-12-14 09:16:11 UTC
Created attachment 129617 [details]
The problematic document

I created a simple document in a fresh LO master build: three paragraphs of dummy text, and an image inserted (with default settings) after the second one. The image is big, so it wraps to the next page and leaves a large empty space on the one I inserted.

When saved in ODT and reopened, the image appears where it was.

When saved in DOCX and reopened, the image appears at the end of the document, not after the second paragraph of the dummy text.

When opening the same DOCX in Word 2013, the image appears where it was - super strange :).
Comment 1 Gabor Kelemen (allotropia) 2016-12-14 09:17:33 UTC
Created attachment 129618 [details]
Original document in odt
Comment 2 Gabor Kelemen (allotropia) 2016-12-14 09:19:11 UTC
Created attachment 129619 [details]
Side by side image of the odt and docx after reopening in LO master
Comment 3 Gabor Kelemen (allotropia) 2016-12-14 09:21:12 UTC
Created attachment 129620 [details]
Screenshot of the document in LO 5.1.4 and Word 2013 side by side

The problem persists in LO 5.1.4 too, but not in Word 2013
Comment 4 Xisco Faulí 2016-12-14 11:37:57 UTC
Regression introduced by:

author	Luboš Luňák <l.lunak@collabora.com>	2014-09-21 15:52:58 (GMT)
committer	Luboš Luňák <l.lunak@collabora.com>	2014-09-21 15:54:41 (GMT)
commit 3891ba42a886fa85eb43da24d1badf44e765d54c (patch)
tree ab7d66d979ee7f9a6c34db8503e1e15f5f0441b9
parent c0a709e9912de8adb6777b40197accf865c4f046 (diff)
handle docx's w:anchor layoutInCell attribute (bnc#891663)

Closing this as duplicate of bug 96218

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