Bug 115788 - Fileopen: incorrect position of wrap around frame with image from .DOC because First Paragraph checked (OK if saved in MSO as DOCX, First Paragraph unchecked)
Summary: Fileopen: incorrect position of wrap around frame with image from .DOC becaus...
Status: RESOLVED DUPLICATE of bug 133504
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: low normal
Assignee: Not Assigned
Depends on:
Blocks: DOC-Images
  Show dependency treegraph
Reported: 2018-02-16 18:25 UTC by Kurt Roeckx
Modified: 2023-05-31 10:33 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

Document showing the problem (52.00 KB, application/msword)
2018-02-16 18:25 UTC, Kurt Roeckx
DOC compared MSO LO (184.01 KB, image/png)
2019-10-11 08:25 UTC, Timur
DOCX compared MSO LO (202.63 KB, image/png)
2019-10-11 08:29 UTC, Timur

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Roeckx 2018-02-16 18:25:55 UTC
Created attachment 139952 [details]
Document showing the problem

I often get files from Microsoft users that look different in Libreoffice than compare in the Microsoft products, but most of them are not public documents so I don't file bugs with it. But this example file is just on their website.
Comment 1 Imai 2018-02-20 08:42:48 UTC
Issue is reproduced.
on Microsoft word is no problem.
but when displaying the attached file on LibreOffice the position of the image and the position of the title logo change.


OS X EL Capitan

Build ID: 60bfb1526849283ce2491346ed2aa51c465abfe6
CPU threads: 4; OS:Mac OS X 10.11.3; UI render: default; 
local: ja-JP (ja.UTF-8); Calc: group
Comment 2 IWAMOTO 2018-02-20 08:56:48 UTC

Version: (x64)
Build ID: 60bfb1526849283ce2491346ed2aa51c465abfe6
Locale: ja-JP (ja_JP); 
OS:Winsows7 Home Premium x64
Comment 3 Timur 2018-02-20 13:36:44 UTC
This shouldn't have been confirmed so fast. 
Bugzilla is not "document based", like "this document doesn't display nice". 
Bugzilla is "issue based", so a single issue must be pointed at, after a search for not being a duplicate. 
It's highly unlikely that any bugs of type "multiple problems with this file/bad rendering/this should look like", will be fixed. 
Each issue (section break, paragraph break, text box size, picture position...) should be analyzed and checked for already reported bugs.
If bugs don't exist, they should be reported separately, even if they happen with the same file.
Example file should be reduced to minimum test case for a specific problem, with clear file history or steps to reproduce from scratch
Sp please don't confirm the bug just because a problem is reproduced until it's triaged. 

This file shows diff. problems.
Text box position looks like Bug 35334 and some more bugs.
So, let bug be about image position. I'm not sure whether it's about position, anchor or wrap. Should also be checked if a duplicate. Anyway, only repro in DOC, fine in MSO created DOCX.
Comment 4 QA Administrators 2019-10-11 02:36:04 UTC Comment hidden (obsolete)
Comment 5 Timur 2019-10-11 08:25:52 UTC
Created attachment 154921 [details]
DOC compared MSO LO

If DOC is compared in MSO and LO 6.4+, we can see an incorrect position of wrap around frame with image from .DOC because First Paragraph in LO is checked. 
If we open that DOC in LO and uncheck First Paragraph, image position is OK.
Comment 6 Timur 2019-10-11 08:29:20 UTC
Created attachment 154924 [details]
DOCX compared MSO LO

If we save DOC in MSO as DOCX, image position is OK in LO. 
Screenshot compared in MSO and LO 6.4+, correct position of wrap around frame with image because Wrap option First Paragraph in LO is unchecked. 
If we open that DOCX in LO and check First Paragraph, image position is NOK.
Comment 7 Timur 2019-10-11 09:29:39 UTC
https://bugs.documentfoundation.org/show_bug.cgi?id=78756#c29 says:
The "First Paragraph" part was added by
author	Cédric Bosdonnat <cedricbosdo@openoffice.org>	2010-10-12 08:08:27
commit 7051c834c6c1e98d9e44cc828701477730113448
n#617593  Fixed the frame surrounding in ww8 import
That was in OO.
Comment 8 QA Administrators 2021-10-11 03:31:51 UTC Comment hidden (obsolete, spam)
Comment 9 Justin L 2023-05-31 00:03:58 UTC
fixed in 7.6 - not closing yet so I can get commit once bibisect updates.
Comment 10 Justin L 2023-05-31 10:33:56 UTC
fixed by commit 4f91e6c91b449ffe1e51cc517e8fc93179feca67
Author: Justin Luth on Thu May 25 12:19:16 2023 -0400
    tdf#133504 doc import: set the correct wrap

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