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

Justin L <jl...@mail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jl...@mail.com
            Summary|FILESAVE: to ODP: some of   |FILESAVE: to ODP/ODG: some
                   |the draw:image tags are     |of the draw:image tags are
                   |empty                       |empty

--- Comment #6 from Justin L <jl...@mail.com> ---
We are running into the same problem using Draw (also using Linux), where
images are "randomly" lost, but no particular pattern or rationale is observed.
Similar to OP, there are a lot of duplicate pictures in these large (30+ page)
documents. So unfortunately no unit test or "steps to reproduce" are available
- but it happens VERY frequently (using LO 5.4 and now 6.0.6).

I tested a few different scenarios.
1.) insert an image into page1 and copy the entire page 4 times. Pictures
folder contains a single picture. Deleting a page (tried first, last, middle)
and reloading was fine.
2.) create a 4 page document, insert an image into page1, copy the image, and
paste it into the remaining three pages. Pictures folder contains a single
picture. Deleting a picture from one of the pages, and reloading was fine.
3.) create a 4 page document, and insert an the same image into each page
separately using insert image (not copy paste). Pictures folder contains a
single picture (that was unexpected!!).
4.) unzipped the file, deleted the picture from the pictures folder, and
re-zipped into .odg. File opened without complaint, but images were lost. Upon
saving, xlink:href="" exactly as indicated by OP.

Observations and conclusions:
A.) in our 30+ page document, some of the images are duplicated multiple times
in the Pictures folder (at least 5 times in one case, under different ID names
of course). So this is slightly inconsistent - I couldn't duplicate this
because changing the filename or the file path of the to-be-imported file still
resulted in a single picture instance.
B.) likely the image itself is irrelevant since sometimes one disappears and at
a different time another will disappear.
C.) I expect that the root problem is that the image in the Pictures file is
removed when still referenced elsewhere, either through corruption, or through
document cleanup. The key will be to find a reproducable way to trigger this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to