[Libreoffice-bugs] [Bug 108748] New: Images based on PDF (pdfium) disappear after reopening a document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jun 24 22:39:53 UTC 2017


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

            Bug ID: 108748
           Summary: Images based on PDF (pdfium) disappear after reopening
                    a document
           Product: LibreOffice
           Version: 5.4.0.0.beta2
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: bart at nice-person.net

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:
https://vmiklos.hu/blog/pdfium.html and
https://vmiklos.hu/blog/pdf-image-rountrip.html 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

-- 
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/20170624/ffbc2069/attachment.html>


More information about the Libreoffice-bugs mailing list