Yesterday, Writer lost 2 of 5 linked images in my very simpe document.
A document consists of 5 pages, one image per page. It seemed to work fine unless I opened the document next day and to my surpise there was just literally nothing where the 1st and the 3rd images were.
Yep, I reported the bug, but since I don’t know how to reproduce it, the bug report is not very useful for “developers”.
Have you experienced the same bug? Are there any secret tricks to avoid it?
Version: 7.2.4.1 (x86) / LibreOffice Community
Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
update as request by ajlittoz
All of images were linked images, and were anchored as characters. Here is a comparision of the XML markup of the image that is still in the file and the XML of the image that is now missing:
This is a part of “covid.jpg” image. This image is OK, it wasn’t removed.
<text:p text:style-name="P10">
<draw:frame draw:style-name="fr1" draw:name="Image2" text:anchor-type="as-char" svg:width="415.11pt" svg:height="587.31pt" draw:z-index="5">
<draw:image xlink:href="../covid.jpg" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="<All images>" draw:mime-type="image/jpeg"/>
</draw:frame>
</text:p>
And this is a part of the “house.jpg” image. This image is missing:
<text:p text:style-name="P6">
<draw:frame draw:style-name="fr1" draw:name="Image1" text:anchor-type="as-char" svg:width="486pt" svg:height="273.34pt" draw:z-index="0"><draw:image/></draw:frame>
</text:p>
It is very clear that the second snippet is broken. The only question is why. All of the images were inserted exactly the same way, by clicking the “Insert > Image” and enabling the “Link” check box.
After the document was almost ready, I closed it, and then opened it again to edit some text. I have do it multiple times and the images were in their correct places. Then, two days ago, I opened this document again, and the images were missing, and XML markup is broken. It seems there was some internal error during the last save.