Bug 123463 - Linked SVG pictures is copied into fodt file
Summary: Linked SVG pictures is copied into fodt file
Status: RESOLVED DUPLICATE of bug 118879
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.2.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:fodt, filter:svg
Depends on:
Blocks:
 
Reported: 2019-02-14 13:16 UTC by adrien.aubourg
Modified: 2019-02-14 14:59 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description adrien.aubourg 2019-02-14 13:16:57 UTC
Description:
I'd like to use LibreOffice Writer with git to work with several people on the same document. The idea is to use the fodt file format (plain xml) and linked svg pictures, so everything is smoothly tracked by git without any binary file.

However, any linked svg picture is also copied into the fodt file. This raises the file size because of these large binary chunks, and these chunks induces large and unecessary git diffs.

AddReplacementImages is not useful here. When set off, one binary chunk per svg picture is present. When set on, two chunks per picture is present (I assume svg+png).

This seems to only concern svg picture. Linked png picture are not copied into the fodt file

Steps to Reproduce:
1. Open a new Writer document
2. Insert an SVG picture, linked
3. Save the document as fodt

Actual Results:
The fodt file contains binary chunk(s) (one or two depending on AddReplacementImages setting)

Expected Results:
The fodt file has no binary chunks with only linked pictures


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Behavior with PNG pictures is as expected
Comment 1 Aron Budea 2019-02-14 13:45:05 UTC
A similar issue was fixed recently (bug 118879), the fix will be part of 6.1.6 and 6.2.1, the RC1 of 6.2.1 is already available from the following link, could you give that a try? (or wait until it's released in ~3 weeks)
https://dev-builds.libreoffice.org/pre-releases/
Comment 2 adrien.aubourg 2019-02-14 14:59:12 UTC
6.2.1.1 is working as expected.

Thank you very much.

*** This bug has been marked as a duplicate of bug 118879 ***