https://bugs.documentfoundation.org/show_bug.cgi?id=168964

            Bug ID: 168964
           Summary: FILESAVE DOCX Exported document can freeze or crash
                    Word on open
           Product: LibreOffice
           Version: 7.0.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, regression
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 104528, 112976

Created attachment 203449
  --> https://bugs.documentfoundation.org/attachment.cgi?id=203449&action=edit
ooo52593-1.odt

The attached ODT, ooo52593-1.odt is from an old AOO bug report. Save it into
DOCX, and try opening it in Word.

=> Word will hang or crash trying to open the DOCX.

Observed with LO 26.2.0.0.alpha0+ (8ea8e254a3151f5390f3a10ff156fcaf8e7c5d5c),
7.0.0.3 / Windows.

This is a regression from the following commit in 7.0
https://git.libreoffice.org/core/commit/2150fdc7d0f63288ac56c33cb898589512057642
author          Attila Bakos <[email protected]>       Thu Apr 09
17:10:22 2020 +0200
committer       László Németh <[email protected]>   Tue Apr 28 10:18:08
2020 +0200

"tdf#131539 DOCX export: fix position of OLE objects"

In the saved DOCX before the change, in word/document.xml, one can find the
following:
<v:shape id="ole_rId2" style="width:35.3pt;height:17.05pt" o:ole="">

This changes with the fix:
<v:shape id="ole_rId2"
style="position:absolute;margin-left:10.8pt;margin-top:9.2pt;width:35.3pt;height:17.05pt;mso-position-horizontal-relative:text;mso-position-vertical-relative:text"
o:ole="">

Such changes are the cause of the hang/crash.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104528
[Bug 104528] [META] Saved DOCX files that MS Word can't open
https://bugs.documentfoundation.org/show_bug.cgi?id=112976
[Bug 112976] [META] DOCX (OOXML) OLE object-related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to