<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Images based on PDF (pdfium) disappear after reopening a document"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=108748">108748</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Images based on PDF (pdfium) disappear after reopening a document
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.4.0.0.beta2
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>bart@nice-person.net
</td>
</tr></table>
<p>
<div>
<pre>Description:
Glossary: In this description I refer to a "PDF-Image": For me this is a
graphic inserted into my Writer document that is a PDF, like a diagram.
LibreOffice 5.4 has a new PDF-Image embedding functionality like described
here:
<a href="https://vmiklos.hu/blog/pdfium.html">https://vmiklos.hu/blog/pdfium.html</a> and
<a href="https://vmiklos.hu/blog/pdf-image-rountrip.html">https://vmiklos.hu/blog/pdf-image-rountrip.html</a> and it works very well.
(pdfium)
But when I decide to "link" a PDF-Image instead of "embedd" it then the
PDF-Image is not loaded correctly when reopening a Writer file
I "link" it because these will be tables generated with Apache-Fop and diagrams
created in Adobe-Illustrator. I'm aware of the benefits/drawbacks for the
end-user like me when choosing "link". I prefer linking because the PDF created
by Apache-FOP will change. Later I will do a PDF Export from LibreOffice
Steps to Reproduce:
1. place a PDF-Image by selecting Menu => Insert => Graphics
2. select a PDF and check the "Link" checkbox in the File-Select-Dialog
3. safe the file as test.odt
4. close Libreoffice
5. open Libreoffice and open test.odt
Actual Results:
The area where I expect the image shows only a frame and the "file:///...." URL
as red text which is blinking and is replaced with a text "Read Error"
approximatly every second.
Expected Results:
I expect to see the PDF-Image in the same way that I have created it before I
have closed Libreoffice.
I made the same test with a JPG-Image instead of a PDF-Image and there this
works as expected
Reproducible: Always
User Profile Reset: No
Additional Info:
The only special settings about my Libreoffice installations are that I use a
dark background and have Zotero installed as well
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:55.0) Gecko/20100101
Firefox/55.0</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>