Description: Using LibreOffice (I'm using the current latest LibreOffice 7.1.0.3 on macOS) to open the rtf file (https://github.com/Redogame/sample-data/raw/main/sample.rtf), it didn't recognize the first OLE object, just read it as a normal object. So the object can't be double clicked to view it. But the 2nd OLE object is well recognized. Can anybody help to figure out how to work around it or fix it? Steps to Reproduce: 1. Download the rtf file (the download link is in description.) 2. Open the rtf file with LibreOffice. 3. There are 2 OLE objects in the rtf file (also have 1 text), but the first OLE object can't be clicked to view. Actual Results: The first OLE object can't be clicked to view, but the 2nd OLE object can. Expected Results: The first OLE object can be clicked to view. Reproducible: Always User Profile Reset: No Additional Info: I'm running LibreOffice 7.1.0.3 on macOS 10.14.6.
Created attachment 170016 [details] The rtf file in download link also be attached.
Could you please clarify what app should open on double-click? Also, is this really meant to work on any operating system or just Windows?
Created attachment 170020 [details] Select 2nd OLE object
The embeded OLE object is a chemical route, and should be opened by ChemDraw when double click in normal case, but the point is not here: With what app to open is not important. You can confirm like this: Switching selection between the 2 objects, you may find the LibreOffice toolbar & statusbar different, and there is a gray box around the 2nd OLE object while no box around the first one. When select the 2nd OLE object and double click, will show "Error activating object: General OLE error.", which means it was recognized as an OLE object. I attached a screenshot "Select 2nd OLE object" to help your understand. > Also, is this really meant to work on any operating system or just Windows? I tried it on macOS and Ubuntu 20.04, not sure on Windows.
And FYI, if you can open the rtf file by Microsoft Word, you can find the both objects are embedded OLE objects and behave same.
Thanks for the additional info. Yes, if it works in Word, it should work in Writer. (I can't try this right now, so not setting to NEW.)
Hi Miklos, I found that if insert an empty paragraph before the 1st OLE object in the rtf file, LibreOffice can read the 2 OLE objects correctly and works well. The "paragraph inserted" rtf file is also attached. May this help you. BTW, I have a large mount of RTF files, from which to extract OLE objects and save each object as a chemical route file (ChemDraw CDX format), so I wrote a Java program to call unoconv [https://github.com/unoconv/unoconv] to batch process, and this task is urgent. So if this issue can be fixed soon, how long need I wait until I can download the fixed release, or how can I apply the patch ASAP?
Created attachment 170042 [details] paragraph inserted sample
Just to set the correct expectations, nobody is paid to jump on this bug currently. Either wait till somebody has time to fix it, or fix it yourself or see https://www.libreoffice.org/get-help/professional-support/ for professional support. The issue reported sounds interesting, but I don't currently have time to investigate more.
Understood. Thanks for your kind help.
On pc Debian x86-64 with master sources updated today, none of the 2 OLEs open. But I noticed this log for the second one: Throwing EndOfStreamException gio: file:///tmp/luvpbtut.tmp/luvpbu02.tmp: No application is registered as handling this file warn:legacy.osl:18761:18761:sw/source/uibase/wrtsh/wrtsh1.cxx:775: Can't get visual area size! To compare both, I put a break in sw/source/uibase/docvw/edtwin.cxx:3335 (SwEditWin::MouseButtonDown). Second object uses goes, as expected, in this branch: "case SelectionType::Ole" The first one goes in this branch: "case SelectionType::DrawObject:"
Dear fwwucn, 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