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: NEW
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: 2018-11-17 10:08 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
This bug also exists in version 4.1.0.0.alpha0+ (Build ID: 4b45b7b3ea06cd9d172c438ed8f2507f8150e99) from GIT (master, checkout on 2013-04-16).
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
Bug still exist in LO v4.4.1.2 on linux 3.13.0-46-generic
 64 bit, KUbuntu. Bug doesn't change.
Comment 8 tommy27 2016-04-16 07:29:08 UTC Comment hidden (obsolete)
Comment 9 Valdas 2016-04-16 11:04:07 UTC
Tested on v5.0.5.2: same behavior.
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
Bug still exists.

Versija: 6.0.6.2
Darinio identifikatorius: 1:6.0.6-0ubuntu0.18.04.1
Procesoriaus gijos: 16; OS:Linux 4.15; Sąsajos pateikimas: numatytasis; VCL: kde4; 
Lokalė: lt-LT (lt_LT.UTF-8); Calc: CL