Bug 75685 - FILEOPEN: DOC - Microsoft Equation 3.0 object loads with blank preview
Summary: FILEOPEN: DOC - Microsoft Equation 3.0 object loads with blank preview
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: interoperability target:6.0.0
Keywords: filter:doc
Depends on:
Blocks: DOC-Formula
  Show dependency treegraph
 
Reported: 2014-03-02 21:03 UTC by Sergey Pashinin
Modified: 2018-07-24 15:59 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
test document (19.00 KB, application/msword)
2014-03-02 21:03 UTC, Sergey Pashinin
Details
Problem in 1 image (41.91 KB, image/jpeg)
2014-03-02 21:07 UTC, Sergey Pashinin
Details
test document resaved in MSO 2010 (22.62 KB, multipart/mixed)
2017-07-19 09:45 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Pashinin 2014-03-02 21:03:50 UTC
Created attachment 94981 [details]
test document

Problem description: 
1. Incorrect display of a formula
2. Formula object is opened like a picture

Steps to reproduce:
1. Open an attached document

Current behavior:
Formula object is opened like a picture

Expected behavior:
Formula editor should be opened
              
Operating System: Ubuntu
Version: 4.2.1.1 release
Comment 1 Sergey Pashinin 2014-03-02 21:07:22 UTC
Created attachment 94982 [details]
Problem in 1 image
Comment 2 Regina Henschel 2014-03-02 22:23:15 UTC
There is something wrong with the formula. If I open the document in Word 2010, in Kingsoft Writer, or TextMaker, then I see no preview image. I need to double-click it to get it repaired to show a correct graphic. When I save the repaired document with Word 2010, then it opens in LO4.3 correctly too.

How was the document created?
Comment 3 Sergey Pashinin 2014-03-03 05:45:53 UTC
I have no idea how it was created. Just had this document and posted a bug.
Comment 4 Thomas van der Meulen [retired] 2014-03-22 10:34:40 UTC
The file is made in 27-1-2003 with Micorsoft Office Word says the windows. 

And yes for me the formula is also loaded as a picture in LibreOffice 4.1.3.1 and I also "I need to double-click it to get it repaired to show a correct graphic."
Comment 5 Yousuf Philips (jay) (retired) 2014-07-11 11:45:29 UTC
Dear Sergey,

Thank you for submitting the bug. I can confirm that the bug is available in 3.3.0, 4.2.5 and master. Instead of rendering it as an ole, LO is rendering it as a picture. Kingsoft Writer does the same thing of rendering it as a blank picture. A resaved doc file in word 2007 had it reopen correctly in LO as an ole and Kingsoft Writer as a picture.

The formula is a Microsoft Equation 3.0 object and its likely LO and Kingsoft are relying on a saved image version of the formula when none is actually there, as ms word first opens with it blank as well.
Comment 6 QA Administrators 2015-07-18 17:44:08 UTC Comment hidden (obsolete)
Comment 7 Buovjaga 2015-10-23 08:12:29 UTC
Confirmed.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: fcc2415ade6ae93710bbbda9f7e163045e323105
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-10-21_16:55:13
Locale: fi-FI (fi_FI)
Comment 8 Aron Budea 2016-08-15 00:18:02 UTC
Still reproduced in v5.2.0.4.
Comment 9 Timur 2017-07-19 09:45:20 UTC
Created attachment 134729 [details]
test document resaved in MSO 2010
Comment 10 Yousuf Philips (jay) (retired) 2017-07-20 04:52:25 UTC
In my view this isnt a bug, as mentioned in comment 2 and comment 5. Similar to MS Word, double-clicking on the OLE preview opens the formula editor and exiting the formula editor refreshes the preview which is then presented.

@Miklos: What is your take on this?
Comment 11 QA Administrators 2018-07-21 02:39:58 UTC Comment hidden (obsolete)
Comment 12 Timur 2018-07-23 12:48:42 UTC
Formula image in 5.4, object in 6.0 and proper display in 6.1 and 6.2+.
I'll close. 
It'd be good to know when this was fixed.
Comment 13 Aron Budea 2018-07-24 15:59:04 UTC
(In reply to Timur from comment #12)
> Formula image in 5.4, object in 6.0 and proper display in 6.1 and 6.2+.
> I'll close. 
> It'd be good to know when this was fixed.

Not sure what you meant by the difference between 6.0 and 6.1+, I could reverse bibisect the point when it started bringing up the formula editor upon double click in 6.0. Additionally the resaved document you uploaded seems to have been corruped during upload (it can be fixed by deleting some HTML form reference from the beginning of the file).

https://cgit.freedesktop.org/libreoffice/core/commit/?id=5868745db74ae930edb0058490076d82aaeafbe9
author		Armin Le Grand <Armin.Le.Grand@cib.de>	2017-06-12 15:27:16 +0200
committer	Thorsten Behrens <Thorsten.Behrens@CIB.de>	2017-07-15 11:01:29 +0200

emfplus: make VectorFormats Emf/Wmf/Svg work