Bug 123688 - Formulae not saved correctly in .docx format in Writer (divides is changed to | on save)
Summary: Formulae not saved correctly in .docx format in Writer (divides is changed to...
Status: RESOLVED DUPLICATE of bug 120638
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.2.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Formula
  Show dependency treegraph
 
Reported: 2019-02-24 23:51 UTC by Charles Malpas
Modified: 2020-05-22 14:36 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Test document showing error (4.38 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-02-24 23:54 UTC, Charles Malpas
Details
ODT Example (10.71 KB, application/vnd.oasis.opendocument.text)
2019-03-02 16:41 UTC, Roman Kuznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Malpas 2019-02-24 23:51:50 UTC
Description:
I have a strange bug in Writer. If I create a formula via Insert > Object > Formula... such as:

P left (B divides D right ) = sum from {k = 1} to {k} {P} left (B divides {M} rsub {k} , D right ) P left ({M} rsub {k} divides D right )

It appears to be normal. When I save as a .docx, then close and reopen the document, the formula has changed to

P left (B | D right ) = sum from {k = 1} to {k} {P} left (B | {M} rsub {k} , D right ) P left ({M} rsub {k} | D right )

The divides have been changed to | in the formula itself. The | then render as a weird 'V'. This error does not occur when saving as an .odt file. 

System info:

Version: 6.2.0.3
Build ID: 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-US
Calc: threaded
OS: Ubuntu 18.04

Steps to Reproduce:
1.Create formula in Writer using 'divides' syntax
2.Save as .docx
3.Close Writer
4.Reopen document

Actual Results:
'divides' syntax has been replaced with |, which does not render.

Expected Results:
'divides' should remain as the syntax.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.2.0.3
Build ID: 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-US
Calc: threaded
OS: Ubuntu 18.04
Comment 1 Charles Malpas 2019-02-24 23:54:34 UTC
Created attachment 149562 [details]
Test document showing error
Comment 2 Dieter 2019-02-25 08:44:09 UTC
Charles, could you please also add the original odt-file?
Comment 3 Roman Kuznetsov 2019-03-02 16:41:26 UTC
Created attachment 149684 [details]
ODT Example
Comment 4 Roman Kuznetsov 2019-03-02 16:42:14 UTC
repro in

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 47c498417248444cab4e8f597ddeec4e0d585a71
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-02-21_08:39:21
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded
Comment 5 Roman Kuznetsov 2019-03-02 16:44:33 UTC
In LO 5.2.7.2 is the same problem
Comment 6 NISZ LibreOffice Team 2020-05-22 14:36:24 UTC

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