Bug 31814 - EMF regression: failure of displaying ChemDraw objects
Summary: EMF regression: failure of displaying ChemDraw objects
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version: 3.3.0 Beta3
Hardware: Other All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard: preBibisect
Keywords: regression
: 57032 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-21 06:16 UTC by Andras Timar
Modified: 2014-12-30 03:32 UTC (History)
8 users (show)

See Also:
i915 platform:
i915 features:


Attachments
File with example OLE objects that are not shown correctly under LibO/Fedora15 64bit (80.50 KB, application/msword)
2011-09-27 15:24 UTC, christian_l
Details
emf extracted from the doc (15.62 KB, image/x-emf)
2013-02-21 02:40 UTC, Valek Filippov
Details
2nd emf extracted from the doc (11.52 KB, image/x-emf)
2013-02-21 02:40 UTC, Valek Filippov
Details
Bug 31814 - LO 4.2 vs Word 2010 (82.88 KB, image/jpeg)
2013-07-24 13:43 UTC, bfoman
Details

Description Andras Timar 2010-11-21 06:16:07 UTC
There are many ChemDraw objects (molecules) in the referenced presentation. These objects are not displayed in LibreOffice 3.3 beta 3. This is a regression, because:
Go-OO 3.2.1 - OK
OOo 3.3RC - OK
LibO 3.3b3 - BUG

http://ftp.fsf.hu/LibreOffice/Heteroarom%e1s%20vegy%fcletek%20k%e9mi%e1ja-V.ppt
Comment 1 Alex Thurgood 2010-11-21 20:22:19 UTC
I can confirm this behaviour. The objects are also displayed correctly in NeoOffice. In LibO beta 3, only the image handles are displayed.


Alex
Comment 2 Don't use this account, use tml@iki.fi 2010-11-25 05:23:27 UTC
Thorsten?
Comment 3 Thorsten Behrens 2010-11-25 07:04:07 UTC
Eh, it's loading those as emf+ - Rodo, any cycles left to look into this?
Comment 4 Thorsten Behrens 2010-11-25 07:04:28 UTC
(if not, just return to me of course)
Comment 5 Andras Timar 2011-06-02 04:00:45 UTC
The sample document opens correctly in LibreOffice 3.4.
Comment 6 gvlatyshev 2011-06-18 03:00:06 UTC
Presentation is displayed correctly in LO 3.4.0 in windows xp sp3 but not in Fedora 14
Comment 7 Phil Hord 2011-07-14 16:37:11 UTC
More data: The sample doc's images also fail to display for me in LO-3.4.1 on Ubuntu Linux x86_64.

(In reply to comment #6)
> Presentation is displayed correctly in LO 3.4.0 in windows xp sp3 but not in
> Fedora 14
Comment 8 christian_l 2011-09-27 15:24:57 UTC
Created attachment 51694 [details]
File with example OLE objects that are not shown correctly under LibO/Fedora15 64bit 

Is anybody working on this? This bug is really bothering me, as it does not only affect ChemDraw objects, but apparently /any/ chemical structure objects, both in document and presentation files, that people send me. Not sure if it affects all OLE objects, but I guess there's a chance for that, too. For me the problem exists since Fedora switched from OpenOffice to LibreOffice (Fedora 14 -> 15, 64bit version). 

I also tried with a recent nightly build, and the problem persists. 

I have attached a test file that has objects created with ChemDraw, Accelrys Draw (= formerly ISISDraw/SymyxDraw), and MarvinDraw, none of which are fully visible for me in LibO. I hope this helps for fixing the problem!

Christian
Comment 9 christian_l 2011-10-22 22:02:04 UTC
To Thorsten Behrens or any other dev that might be reading this: can you please check whether anybody is actually working on this? This bug has been reported 11 months ago now, and the assignee has not responded a single time to this yet. Also, the bug has been closed and reopened. I am thus wondering whether it somehow got overlooked/dropped under the radar? I would have expected to get at least a one-liner saying something like “Yes, I can reproduce it, but I'm busy with more critical stuff right now, will try to fix it for version 3.x”, or “We can still not reproduce it, can you please try ...”, or something. Without any feedback, I can only guess whether or not those comments have been noticed, and whether there's any additional info I could provide that might help.

Thanks!
Comment 10 Thorsten Behrens 2011-10-24 06:13:35 UTC
Just checked a recent master build, MarvinDraw displays there, ChemDraw still not. Rodo, any cycles left to have a quick look?
Comment 11 Radek Doulik 2012-04-18 06:54:19 UTC
Checked the ChemDraw image and it is indeed emf+, but it opens in Draw (atom letters are missing though). So I guess it is Writer problem. I will try to fix the emf+ issue - missing letter. Giving Cc to Lubos so that he can check the Writer related part.
Comment 12 Radek Doulik 2012-04-18 10:11:48 UTC
I have fixed emf+ issue with atom names text drawing. All the embedded emf files now render OK in Draw.

Reassigning to Lubos for the Writer part.
Comment 13 Lubos Lunak 2012-07-16 15:46:27 UTC
(In reply to comment #12)
> I have fixed emf+ issue with atom names text drawing. All the embedded emf
> files now render OK in Draw.
> 
> Reassigning to Lubos for the Writer part.

I cannot confirm with current master, if I convert the .doc from comment #8 to .docx using MSO2k7, which I assume does not change the embedded .emf files, then Draw does not open the first two here.

Reassigning back.
Comment 14 Radek Doulik 2012-07-17 10:35:15 UTC
Must be another regression :-( I will look into it.
Comment 15 Radek Doulik 2012-07-17 14:29:13 UTC
OK, I was wrong, probably mistaken by exported env. variable EMF_PLUS_DISABLE set to 1 at some point.

I implemented uhnadled emf+ record DrawImage and it works now. There's another problem though, as it is rendered in very low resolution. I will need to look into whether we can draw embedded metafiles better (best without intermediate bitmap representation). It will take some time though.

Meanwhile the fix for DrawImage record is available in master branch.

Looks like writer part is OK as far as I can tell.
Comment 16 Lennard Wasserthal 2013-01-28 17:05:39 UTC
*** Bug 57032 has been marked as a duplicate of this bug. ***
Comment 17 Lennard Wasserthal 2013-01-28 17:15:55 UTC
Fails on Windows Version 3.6.3.2 Too. (32 Bit, 2x Intel Core2 Duo)
Displaying ChemDraw works when setting EMF_PLUS_DISABLE to 1.
strangely, the error occurred obviously with delay.
Comment 18 Valek Filippov 2013-02-21 02:40:04 UTC
Created attachment 75220 [details]
emf extracted from the doc
Comment 19 Valek Filippov 2013-02-21 02:40:39 UTC
Created attachment 75221 [details]
2nd emf extracted from the doc
Comment 20 Andras Timar 2013-05-13 11:43:39 UTC
It is a regression, because the bugdoc opens perfectly in Go-OO 3.2.1 (and even in AOO 3.4.1).
Comment 21 bfoman 2013-07-24 13:43:06 UTC
Created attachment 82938 [details]
Bug 31814 	- LO 4.2 vs Word 2010

Confirmed with:
LO 4.2.0.0.alfa0
Build ID: 2013-06-24 own debug build 
Windows 7 Professional SP1 64 bit

Objects are displayed in LibreOffice, but don't look very well. Comparison screenshot LO vs Word 2010 is attached.
Comment 22 QA Administrators 2014-10-23 17:31:59 UTC
Please read this message in its entirety before responding.

Your bug was confirmed at least 1 year ago and has not had any activity on it for over a year. Your bug is still set to NEW which means that it is open and confirmed. It would be nice to have the bug confirmed on a newer version than the version reported in the original report to know that the bug is still present -- sometimes a bug is inadvertently fixed over time and just never closed.

If you have time please do the following:
1) Test to see if the bug is still present on a currently supported version of LibreOffice (preferably 4.2 or newer).
2) If it is present please leave a comment telling us what version of LibreOffice and your operating system.
3) If it is NOT present please set the bug to RESOLVED-WORKSFORME and leave a short comment telling us your version and Operating System

Please DO NOT
1) Update the version field
2) Reply via email (please reply directly on the bug tracker)
3) Set the bug to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 
LibreOffice is powered by a team of volunteers, every bug is confirmed (triaged) by human beings who mostly give their time for free. We invite you to join our triaging by checking out this link:
https://wiki.documentfoundation.org/QA/BugTriage

There are also other ways to get involved including with marketing, UX, documentation, and of course developing -  http://www.libreoffice.org/get-help/mailing-lists/. 

Lastly, good bug reports help tremendously in making the process go smoother, please always provide reproducible steps (even if it seems easy) and attach any and all relevant material
Comment 23 Andras Timar 2014-10-23 17:58:30 UTC
The bug is still there in Version: 4.4.0.0.alpha1+
Build ID: dc6052564600688c7baf2be7f5ae07b8706695aa
I tested it on Windows 7.
Comment 24 Matthew Francis 2014-12-30 03:32:03 UTC
Adding Cc: to chris.sherlock79@gmail.com

Chris, here's another EMF bug that may interest you


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.