[Libreoffice-bugs] [Bug 123463] New: Linked SVG pictures is copied into fodt file

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Feb 14 13:16:57 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=123463

            Bug ID: 123463
           Summary: Linked SVG pictures is copied into fodt file
           Product: LibreOffice
           Version: 6.0.2.1 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: adrien.aubourg at gmail.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190214/ac346b8d/attachment-0001.html>


More information about the Libreoffice-bugs mailing list