Bug 114341 - LibreOffice does not create object replacements for charts
Summary: LibreOffice does not create object replacements for charts
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
5.4.1.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectNotNeeded, regression
Depends on:
Blocks: Chart
  Show dependency treegraph
 
Reported: 2017-12-08 12:39 UTC by Julian Jung
Modified: 2020-07-08 14:58 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
The Document to reproduce (31.91 KB, application/vnd.oasis.opendocument.text)
2017-12-08 12:40 UTC, Julian Jung
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Jung 2017-12-08 12:39:05 UTC
Description:
Opening and saving the attached document does not create object replacement files for all contained charts. An pop-up for the preview creation is not shown. This behavior is different to LibreOffice 4.4.

Actual Results:  
Only two object replacements were created for five charts.

Expected Results:
For all Charts should exist a valid object replacement.


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Julian Jung 2017-12-08 12:40:48 UTC
Created attachment 138307 [details]
The Document to reproduce
Comment 2 Miklos Vajna 2017-12-08 12:49:42 UTC
This changed with commit 74844277cc2194c9e43f5bd7a6f78a9603da32f3 (disable generation of ole previews in ODF format until after load, 2016-09-13).

The intention of that commit was to not silently update the OLE previews, but rather ask the user about it; but for this specific case the result is that now we don't update the previews at all, as far as I see.
Comment 3 QA Administrators 2018-12-09 03:40:47 UTC Comment hidden (obsolete)
Comment 4 NISZ LibreOffice Team 2020-06-25 07:55:01 UTC
This seems to be fixed with:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=2aad85f84235f362604b5fd385bb77de839d2014

author	Miklos Vajna <vmiklos@collabora.com>	2020-06-23 10:31:05 +0200
committer	Miklos Vajna <vmiklos@collabora.com>	2020-06-23 11:33:27 +0200

sw: fix missing OLE preview on updating links

After Tools - Update - Update all and saving there are now 5 files in the ObjectReplacements\ directory of the saved file vs the reported 2.
Comment 5 Xisco Faulí 2020-07-08 14:58:18 UTC
patch has been backported to 7.0 branch -> https://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-7-0&id=b7a465c9403cf198df3424e9893c323b9d305026