Bug 156440 - File gets corrupted after converting from docx to doc (shapes with text)
Summary: File gets corrupted after converting from docx to doc (shapes with text)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:doc, filter:docx, implementationError
Depends on:
Blocks: DOC-Limitations WPSShapeTextImport-Change
  Show dependency treegraph
 
Reported: 2023-07-24 10:06 UTC by Farid Kadyamov
Modified: 2025-09-19 03:11 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
files (220.18 KB, application/zip)
2023-07-24 10:06 UTC, Farid Kadyamov
Details
updated files (actual) (220.18 KB, application/zip)
2023-07-24 10:10 UTC, Farid Kadyamov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Farid Kadyamov 2023-07-24 10:06:50 UTC
Created attachment 188533 [details]
files

1. Open file
2. Save as copy (doc)
3. Open doc in MS Word 2016

Actual Results:
We have corrupted file with "Show corrections" window (Screenshot in archive)

Expected Results:
File is correct
Comment 1 Farid Kadyamov 2023-07-24 10:10:59 UTC
Created attachment 188534 [details]
updated files (actual)
Comment 2 Farid Kadyamov 2023-07-24 10:12:34 UTC
I made a mistake in the names in the original files (before/after), fixed in updated files (actual)
Comment 3 Aaron 2023-08-04 11:40:10 UTC
Hi,

Are you opening the file in LO writer, saving it as a .doc copy then opening it in MS Word?

I'm not able to reproduce this bug. I've attempted the following.

1. Open a file with some text in it (I used an old document of mine) using LO writer
2. Save as a copy using the .doc extension
3. Open document in MS Word.

Result: The document opened successfully and I'm able to view the contents. Although a part of the text was truncated, I'm not able to see a "Show corrections" window.
Comment 4 Farid Kadyamov 2023-08-15 15:38:37 UTC
Hello, yes
Comment 5 Farid Kadyamov 2023-08-15 15:46:32 UTC
I have attached files in the archive
By converting before.docx -> someName.doc to LO Writer, you can get the result in MS Word 2016
Comment 6 QA Administrators 2023-08-17 03:19:29 UTC Comment hidden (obsolete)
Comment 7 Buovjaga 2023-09-19 16:45:26 UTC
Bibisected with linux-44max. This changed with commit d379d18666aa42031359ca8eb34b0021960347ae
oox: import WPS shape with text as shape with textbox

This allows having real shapes (like having rounded corners) and complex
content (like containing a table) at the same time.

WPS shapes are wrappers around drawingML markup in DOCX files, so this
only affects the DOCX import.

I don't know, if this should be called a regression as such. The DOC export filter should learn to somehow convert the shapes into something that doesn't cause the import problem in MS Word.
Comment 8 QA Administrators 2025-09-19 03:11:18 UTC
Dear Farid Kadyamov,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug