Bug 115133 - Images disappear when document is printed but are present in exported PDF
Summary: Images disappear when document is printed but are present in exported PDF
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-21 10:23 UTC by Jörg Skottke
Modified: 2018-02-26 18:56 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jörg Skottke 2018-01-21 10:23:16 UTC
This issue extends #99050 and other issues in the area of disappearing images.

I have observed the unexpected behavior described in issue #99050 and others where images disappear and are replaced by a frame stating "read error". In my case most of the images are of type PDF.

At times this error message appears to be correct, the images seem to be linked and i removed them because i anticipated them to be embedded.

Moving those pictures back to their old location and reloading the document restored the content.

However, when printing the document with the now restored content, the images will not get printed. Exporting the same document right after as PDF includes the images.

Unfortunately i cannot attach the document in question as it contains sensitive tax information, so a step by step reproduction will have to suffice:

Steps to reproduce:
- New writer document
- Prepare 20+ images in a folder like single PDF Pages, Size A4 (other formats should work too)
- insert these images each on a separate page of the document either per drag&drop or menu, anchor them to the page, centered.
- Save the document
- Scroll to the last page in the document
- move away a few of the images/PDF from the images folder
- Scroll back through the document, page by page
-> Some of the images will disappear and be replaced by an errormessage.

Close the document
- Move the images back to the images folder
- Re-open the document
-> The document appears to be intact, the missing images are back

Print the document 
-> The previously missing images are not printed

Export as PDF
-> The images are present.
Comment 1 m_a_riosv 2018-01-21 23:14:46 UTC
Maybe the option in Menu/Print-[LibreOffice Write] - Contents - Pictures & other graphic objects.
Comment 2 m_a_riosv 2018-01-21 23:15:23 UTC
Sorry Menu/File/Print
Comment 3 Jörg Skottke 2018-01-22 16:59:58 UTC
No, the item "Images and other graphics objects" is checked. 
Most of the images are printed but not those that have been removed and restored on filesystem level.
Comment 4 Buovjaga 2018-02-12 17:49:01 UTC
For convenience before I test (and to save toner), does the problem also appear when you select "Print to file" as the printer?
Comment 5 Telesto 2018-02-26 17:47:46 UTC
Some PDF issues of the recent past bug 104998 bug 108748 and bug 114460. Please try LibreOffice 6.
Comment 6 Jörg Skottke 2018-02-26 18:47:42 UTC
Sorry for the late reaction, i have been on vacation the last two weeks.

I changed some configuration parameters some time ago - especially the memory settings for images which i increased to maximum (in count and per image memory). This seemed to reduce the problem on LibreOffice 5.4.

Long story short: I just tried to reproduce the issue with LibreOffice 6 and failed.
Comment 7 Buovjaga 2018-02-26 18:56:45 UTC
(In reply to Jörg Skottke from comment #6)
> Sorry for the late reaction, i have been on vacation the last two weeks.
> 
> I changed some configuration parameters some time ago - especially the
> memory settings for images which i increased to maximum (in count and per
> image memory). This seemed to reduce the problem on LibreOffice 5.4.
> 
> Long story short: I just tried to reproduce the issue with LibreOffice 6 and
> failed.

Cool. The default memory settings were changed in LibO 6 and the options were moved to expert configuration.