Bug 143873

Summary: Formulas created with Microsoft Office in .docx files only appearing as squares in Writer
Product: LibreOffice Reporter: kaldphil <kaldphil>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: 79045_79045
Priority: medium Keywords: filter:docx
Version: 7.1.4.2 release   
Hardware: All   
OS: Windows (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=111854
https://bugs.documentfoundation.org/show_bug.cgi?id=101378
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 104526, 115709    
Attachments: Screenshot of LibreOffice Writer
Example docx with a deleted and an added equation
The example file in Word and Writer side by side
Example of a .docx file (formula not displayed in Writer)

Description kaldphil 2021-08-14 16:55:48 UTC
Description:
A colleague of mine created a formula using Microsoft Office formula editor in a .docx file. When I opened this file in LibreOffice Writer, only squares appear, not the formula. 

Actual Results:
No formulas appear, just squares. 

Expected Results:
I would like to see the formula appear. 


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.4.2 (x64) / LibreOffice Community
Build ID: a529a4fab45b75fefc5b6226684193eb000654f6
CPU threads: 6; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: en-US (de_DE); UI: de-DE
Calc: CL
Comment 1 kaldphil 2021-08-14 16:57:13 UTC
Created attachment 174278 [details]
Screenshot of LibreOffice Writer
Comment 2 Roman Kuznetsov 2021-08-15 08:10:44 UTC
please attach the DOCX file with that formula we can test it
Comment 3 NISZ LibreOffice Team 2021-08-16 10:35:41 UTC
Looks like change tracked deletion of equations.
Such are not really supported yet, see bug 111854 (CT of equation in Writer) and bug 101378 (import of partially changed CT equation from docx).
This one looks like completely deleted equations in docx, somewhat different from the partially deleted ones.
Comment 4 NISZ LibreOffice Team 2021-08-16 10:39:09 UTC
Created attachment 174313 [details]
Example docx with a deleted and an added equation
Comment 5 NISZ LibreOffice Team 2021-08-16 10:40:21 UTC
Created attachment 174314 [details]
The example file in Word and Writer side by side

Here the entire equation is deleted/added unlike in bug 101378 where only parts of it are changed.
Comment 6 NISZ LibreOffice Team 2021-08-16 10:42:15 UTC
Confirming: change tracking for equations is not supported at all in DOCX import.
Comment 7 kaldphil 2021-08-18 15:10:10 UTC
Created attachment 174381 [details]
Example of a .docx file (formula not displayed in Writer)
Comment 8 Sophie Sipasseuth 2023-08-15 07:51:44 UTC
Repro with the earlier version on my computer:

Version: 7.1.0.0.alpha1+ (x64)
Build ID: 738bcf5e9a8c443d60c29c3a8068e8c16c72638a
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: en-US
Calc: CL

Repro with the latest version on my computer:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2b0b4ddc8bd8fdd4cd689300620fe4621d7533b7
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL threaded

Can someone test it with an earlier version of LO to check if there is a regression?