Created attachment 124642 [details]
ODS file with OLE objects for different filetype and methods
The attached ODS file has OLE objects embedded created with 4 different methods.
In the second and the last column (with ICON), it's not possible to open the OLE object for the XLS, ZIP, DOC, PPT file.
The window "Create a package" is opened instead of opening the file.
Steps to reproduce the first and second column:
1. New Calc;
2. Insert -> Objects -> OLE Objects -> Object Type: Further Objects -> Create from File -> "Browse" to select any XLS, PPT, DOC, ... file -> Check the "Display as icon" checkbox -> Click OK.
If the checkbox "Display as icon" is not checkbox, the OLE object can be opened (first column).
Steps to reproduce the third and fourth column:
1. New Calc;
2. Insert -> Objects -> OLE Objects -> Object Type: Further Objects -> Create New -> Select "Package" in the list -> Check the "Display as icon" checkbox -> Click OK.
3. The window "Create a package" will appear
4. "Browse" to select any XLS, PPT, DOC, ... file -> Click Next -> Click Finish
If the checkbox "Display as icon" is not checkbox, the OLE object can be opened (third column).
This bug can be reproduced on Windows with LibreOffice :
- 188.8.131.52 x86
- 184.108.40.206 x86
- 220.127.116.11 x86
If I create an object with a displayed icon (second case) on a computer having Microsoft Office 2007, the OLE object can be opened from LibreOffice but through Excel/Word 2007 instead of LibreOffice.
And on another computer without Microsoft Office 2007, the OLE object will be opened with LibreOffice.
See the attachment tdf2.ods
Created attachment 124643 [details]
OLE objects created on a computer having Microsoft Office 2007
Not confirming but prioritizing.
Minor: Can slow down but won't prevent high quality work;
Lowest This isn't going to affect a lot of people at all
Confirmed already in 3.5
Win 7 Pro 64-bit Version: 18.104.22.168.alpha1+
Build ID: 3d27afd26f7b85c46a7c7d08498000b9dbcea1c8
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default;
TinderBox: Win-x86@42, Branch:master, Time: 2016-05-09_02:42:15
Locale: fi-FI (fi_FI)
Guillaume Smaha committed a patch related to this issue.
It has been pushed to "master":
Fix tdf#99506: Insert OLE object with icon failed
It will be available in 5.2.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.