Bug 62178 - Wrong in to MSWord2003 exported formula when it contains only one parenthesis
Summary: Wrong in to MSWord2003 exported formula when it contains only one parenthesis
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
3.6.4.3 release
Hardware: All Windows (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:doc
Depends on:
Blocks: DOC-Formula MSO-XML2003
  Show dependency treegraph
 
Reported: 2013-03-11 15:30 UTC by Valdas
Modified: 2026-06-17 05:30 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample document to test (12.39 KB, application/vnd.oasis.opendocument.text)
2013-03-11 15:30 UTC, Valdas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Valdas 2013-03-11 15:30:22 UTC
Created attachment 76341 [details]
Sample document to test

If formula contains only one parenthesis or bracket (f.e: "left none A right)") then conversion to M$Word2003 document gives wrong results.

 For example open attached sample document and convert it to Word2003 document. If you open that DOC in LibO and refresh formula (by double-clicking that formula) then you see that around letters appears two parenthesis (should be only one). If open that DOC in Word2007 and refresh that formula the you see that right bracket jumps to left side.

 Attached sample document.

 This bug also exists in LibO v3.6.4.3
Comment 1 Joel Madero 2013-04-15 03:35:10 UTC
updating version to 3.6.4.3

Our version field is oldest version we see the issue, not latest it has been tested on. We use comments to say "also exists in version x.x.x.x.


Thanks!
Comment 2 Valdas 2013-04-16 17:39:35 UTC Comment hidden (obsolete)
Comment 3 Jacques Guilleron 2013-06-29 16:18:45 UTC
Hello Valdas,

Why not write in this case:
A \] newline
B \) newline
\( C newline
\[ D

Have a nice day,

Jacques
Comment 4 Valdas 2013-06-29 17:26:15 UTC
Hello Jacques,

suggested workaround fails when scalable parenthesis is needed, for example:

 matrix {A#B##C#D} \]
Comment 5 Joel Madero 2013-06-29 19:52:35 UTC
Confirmed - another detail is that if you double click into the formula before closing the document the first time (open the document, save as 2003, immediately click into formula) you won't see the change. But if you close the document, reopen it, then click in and you'll see the change.

New
Major - loss/alteration of data
Medium - default is high but I don't think that this is affecting many people at all - no comments in the past 3 months or duplicates marked.

Thanks for the report!


Windows 7
LibreOffice Version 4.0.4.2
Comment 6 QA Administrators 2015-03-17 00:02:41 UTC Comment hidden (obsolete)
Comment 7 Valdas 2015-03-17 11:34:31 UTC Comment hidden (obsolete)
Comment 8 tommy27 2016-04-16 07:29:08 UTC Comment hidden (obsolete)
Comment 9 Valdas 2016-04-16 11:04:07 UTC Comment hidden (obsolete)
Comment 10 Telesto 2016-12-21 16:06:17 UTC
Still repro with:
Version: 5.4.0.0.alpha0+
Build ID: 9cfb2f2f03b5ec086487fd483298466db0b09010
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2016-12-20_23:58:02
Locale: nl-NL (nl_NL); Calc: CL
Comment 11 QA Administrators 2018-11-17 03:47:15 UTC Comment hidden (obsolete)
Comment 12 Valdas 2018-11-17 10:08:05 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2019-11-18 03:27:58 UTC Comment hidden (obsolete)
Comment 14 Valdas 2019-11-18 07:55:19 UTC Comment hidden (obsolete)
Comment 15 paulystefan 2020-03-16 01:27:13 UTC
LO 6.4.1.2 x64 win10-64

i see on monitor

A ] 
B ) 
( C 
[ D

problem solved?
Comment 16 paulystefan 2020-03-16 01:37:24 UTC
correction 

only with with docx it is ok.
Comment 17 paulystefan 2021-05-17 12:33:47 UTC
The doc of this ODT is with actual ms office not viewable.

empty sheet in view.

in LO 7132 is only an object like a photo, but no formula object.
so this convert is failed in LO 7132.

Should future LO support export to old doc?

Import is ok, but MS Office 2016 and higher is the better importer of doc with repair and converter to Docx.

The DOCX of this ODT is ok.
Comment 18 paulystefan 2021-08-05 20:48:41 UTC Comment hidden (obsolete)
Comment 19 paulystefan 2022-06-16 12:56:49 UTC
See no positive change with DOC in LO7342.

DOCX is ok.

Version: 7.3.4.2 (x64) / LibreOffice Community
Build ID: 728fec16bd5f605073805c3c9e7c4212a0120dc5
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (de_DE); UI: de-DE
Calc: CL
Comment 20 QA Administrators 2024-06-16 03:17:26 UTC Comment hidden (obsolete)
Comment 21 Valdas 2024-06-16 07:22:59 UTC
The bug still exists.

Version: 7.6.7.2 (X86_64) / LibreOffice Community
Build ID: 60(Build:2)
CPU threads: 16; OS: Linux 6.6; UI render: default; VCL: gtk3
Locale: lt-LT (lt_LT.UTF-8); UI: en-US
7.6.7-1
Calc: threaded
Comment 22 QA Administrators 2026-06-17 03:13:36 UTC
Dear Valdas,

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