Bug 66463 - FILEOPEN DOC: Incorrect formula
Summary: FILEOPEN DOC: Incorrect formula
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
4.0.4.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks: DOC-Formula
  Show dependency treegraph
 
Reported: 2013-07-01 15:19 UTC by Sergey Pashinin
Modified: 2022-12-13 22:29 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
test document (19.50 KB, application/msword)
2013-07-01 15:19 UTC, Sergey Pashinin
Details
Quick look at the problem (28.48 KB, image/png)
2013-07-01 15:36 UTC, Sergey Pashinin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Pashinin 2013-07-01 15:19:00 UTC
Created attachment 81816 [details]
test document

Problem description: 

When you open a .doc-file with a formula you are looking at some kind of cached image of the formula but not at how it looks in LO.

So I never can be sure that a formula is imported correctly until I double-click it and enter "Edit-mode".

When I try to edit an imported formula it can change very much.

Steps to reproduce:
1. Open an attached document
2. See that a formula object is displayed "strangely"
3. Double click it and see that it changed a lot!

Current behavior:

Some cached images are displayed instead of actual formula.

Expected behavior:

I need to see how it (formula) looks from the start.

Note:
this report is only about initial look of all imported formulas, not about one incorrect formula.
Operating System: Windows 7
Version: 4.0.4.2 release
Comment 1 Sergey Pashinin 2013-07-01 15:36:20 UTC
Created attachment 81819 [details]
Quick look at the problem
Comment 2 Thomas van der Meulen [retired] 2013-07-01 15:41:36 UTC
Thank you for your bug report, I can reproduce this bug running LibreOffice Version: 4.1.0.1
Build ID: 1b3956717a60d6ac35b133d7b0a0f5eb55e9155 on Mac osx 10.8.4.
Comment 3 Sergey Pashinin 2013-07-01 16:36:57 UTC
I should add that the problem exists also for ".odt" files that were generated by saving a ".doc" file.
Comment 4 Mike Kaganski 2013-07-02 22:39:56 UTC Comment hidden (obsolete)
Comment 5 Sergey Pashinin 2013-07-02 22:50:08 UTC Comment hidden (obsolete)
Comment 6 Mike Kaganski 2013-07-03 00:42:01 UTC
In AOO, this formula is displayed correctly from start. Although it displays cached image, too, and this is fortunate, because AOO imports this formula broken as well. So, I suppose, it is best to just fix incorrect stretch of cached image, instead of forcing Math component to draw its imported formulas. This way, even if a formula is imported sub-optimally, it will be rendered correctly, which is good if you only want to view/print document contents, or don't need to modify this formula.

(In reply to comment #5)
Submitted Bug 66525.
Comment 7 Sergey Pashinin 2014-03-24 13:29:55 UTC
I agree with comment #6 about how this should be:

"it is best to just fix incorrect stretch of cached image, instead of forcing Math component to draw its imported formulas"

Just need images to be shown correctly. Incorrect import will be another bug.
Comment 8 QA Administrators 2016-09-20 09:32:16 UTC Comment hidden (obsolete)
Comment 9 Telesto 2016-12-21 18:29:38 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2017-12-22 03:35:27 UTC Comment hidden (obsolete)
Comment 11 Timur 2018-08-03 16:36:08 UTC
Attached DOC looks worse in 6.2+. 
I set Bug 61253 as general minor issue: "Incorrect initial representation of formulas in doc files due to incorrect stretch of cached image" because it's exactly about that, and I change this bug to fileopen formula issue with attachment 81816 [details].
Comment 12 QA Administrators 2019-08-04 05:49:40 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2021-08-04 03:45:47 UTC Comment hidden (obsolete)
Comment 14 Rajasekaran Karunanithi 2022-12-13 22:29:24 UTC
Still exists in LO 7.5 Dev alpha under Windows 10(x64).

Version: 7.5.0.0.alpha1 (X86_64) / LibreOffice Community
Build ID: 2b4d136b65bc79a1248876160e85fab79d52d5d6
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-IN (en_IN); UI: en-US
Calc: threaded