Bug 90124 - The display of part of doc is broken when opening - multiple issues (if saved in MSO, opens differently)
Summary: The display of part of doc is broken when opening - multiple issues (if saved...
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.1.2 release
Hardware: All All
: low normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:doc
Depends on:
Blocks: DOC
  Show dependency treegraph
 
Reported: 2015-03-20 08:13 UTC by xillibit
Modified: 2019-11-10 16:38 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Zip containing the two examples documents (2.27 MB, application/zip)
2015-03-20 08:13 UTC, xillibit
Details
PDF saved from office to show how it's rendered (352.09 KB, application/pdf)
2015-03-24 08:59 UTC, xillibit
Details
Doc output from LibO 4.4.1.2 (131.60 KB, application/pdf)
2015-03-24 09:30 UTC, Buovjaga
Details
Last pages of document saved from libreoffice (114.58 KB, application/pdf)
2015-03-24 10:46 UTC, xillibit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xillibit 2015-03-20 08:13:06 UTC
Created attachment 114203 [details]
Zip containing the two examples documents

When opening doc or docx created under microsoft office (i don't know which exact version), the display of some part of document is broken.

I have two documents in attachment opened under libreoffice 4.4.1 where i encounter the issue. The document nammed example1.doc contains WMF images which are tables and under libreoffice the cells are empty, i can't see the content.

The document example2.docx when opened under libroffice some images are misplaced and some background are displayed in white instead in color.
Comment 1 Buovjaga 2015-03-21 18:23:24 UTC
Please split this report in two. Let's say you keep this one for the .doc and create another one for the .docx.

Please also attach a PDF saved from Microsoft Word, so testers can see the difference.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the PDF.
Comment 2 xillibit 2015-03-24 08:59:22 UTC
Created attachment 114296 [details]
PDF saved from office to show how it's rendered
Comment 3 xillibit 2015-03-24 09:03:01 UTC Comment hidden (obsolete)
Comment 4 Buovjaga 2015-03-24 09:29:24 UTC
Ok I noticed you split the docx thing to bug 90192, good.

I'm not seeing any problems with table contents with the doc, however.
In the 1st page the 0000 and Dupont.. texts are positioned differently and starting from pg 2 the contents are out of sync.

I'll still set to NEW and attach my PDF output from LibreOffice and you can comment on it.
Comment 5 Buovjaga 2015-03-24 09:30:16 UTC
Created attachment 114299 [details]
Doc output from LibO 4.4.1.2

Win 7 Pro 64-bit, LibO Version: 4.4.1.2
Build ID: 45e2de17089c24a1fa810c8f975a7171ba4cd432
Locale: fi_FI
Comment 6 xillibit 2015-03-24 10:46:00 UTC
Created attachment 114302 [details]
Last pages of document saved from libreoffice

This pdf has been saved from LibreOffice 4.4.1.2, this is just the last pages of document. There is WMF tables and the cells are blanked instead to have content.

I had edited the original .doc under microsoft office 2007 to replace personnal data with random text
Comment 7 Buovjaga 2015-03-24 11:10:51 UTC
(In reply to xillibit from comment #6)
> Created attachment 114302 [details]
> Last pages of document saved from libreoffice
> 
> This pdf has been saved from LibreOffice 4.4.1.2, this is just the last
> pages of document. There is WMF tables and the cells are blanked instead to
> have content.
> 
> I had edited the original .doc under microsoft office 2007 to replace
> personnal data with random text

Ok, it's clear that I could not reproduce that problem and I understand you are using Windows as well.

You could try resetting your user profile to see, if it fixes the problem: https://wiki.documentfoundation.org/User_Profile#Resolving_corruption_in_the_user_profile
Comment 8 xillibit 2015-03-24 13:19:22 UTC
I have resetted my profile and it's the same, i know what's happened when i had replaced personnal data with random text. With microsoft office i had done right-click on the table and then selected modify the image, from this point the text was editable in the table, i have replaced the personnal data with random text. After that, i had saved the document, then opened under LibreOffice the cells of table aren't blank.

I can't attatch here the original document because it contains personnal data, if i remove it how i have explained above the issues doesn't appear.
Comment 9 tommy27 2016-04-16 07:27:50 UTC Comment hidden (obsolete)
Comment 10 xillibit 2016-04-16 08:28:04 UTC
I have just tested it with LibreOffice 5.1.2.2 on windows 10 64 bits and it's almost fixed.

If you open the pdf saved from office you will from the second page that there is a vertical text in orange on the right of the page, this text doesn't appear on document opened in libreoffice.
Comment 11 QA Administrators 2017-05-22 13:25:19 UTC Comment hidden (obsolete)
Comment 12 Timur 2019-11-10 15:37:55 UTC
Problems still exist in LO 6.4+:
1. In the 1st page the 0000 and Dupont.. texts are positioned differently in AutoShape
2. starting from pg 2 the contents are out of sync
3. header and footer content in page is wrong, vertical text and table.

This issue will hardly be resolved for two reasons: multiple problems are rarely solved and document was created in a wrong manual way.
And especially that if DOC is saved in MSO as DOCX, 1. opens the same and 2. is a problem both in MSO and LO. 
3. is the most important bug here. related to other bugs, there's bug 74334. Import is better from DOCX, although not perfect. That would require minimal example. I'll report separately unless I find a duplicate.

All in all, this report is of no value.