Bug 138968

Summary: PDF image vanishes from canvas after PDF export or cut and pasting the image (STR comment 7)
Product: LibreOffice Reporter: Telesto <telesto>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aron.budea, jluth, mulla.tasanim
Priority: medium Keywords: bibisected, bisected, regression
Version: 7.0.0.0.alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=138969
https://bugs.documentfoundation.org/show_bug.cgi?id=131971
https://bugs.documentfoundation.org/show_bug.cgi?id=133546
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 108843, 113122    
Attachments: Example file
Fine file saved with 7.0
PDF

Description Telesto 2020-12-16 09:42:48 UTC Comment hidden (obsolete)
Comment 1 Telesto 2020-12-16 09:43:02 UTC Comment hidden (obsolete)
Comment 2 Telesto 2020-12-16 21:38:04 UTC Comment hidden (obsolete)
Comment 3 mulla.tasanim 2020-12-17 19:22:36 UTC Comment hidden (obsolete)
Comment 4 Aron Budea 2020-12-20 05:10:22 UTC Comment hidden (obsolete)
Comment 5 Telesto 2020-12-20 07:28:21 UTC Comment hidden (obsolete)
Comment 6 Aron Budea 2020-12-20 07:48:20 UTC Comment hidden (obsolete)
Comment 7 Telesto 2020-12-20 08:34:50 UTC
Created attachment 168352 [details]
PDF

1. Download the PDF
2. Insert Image -> PDF
3. Crop the PDF.. say around a shape
4. Save to ODT
5. File reload
6. Cut
7. Paste

Going in the direction of bug 138969
Comment 8 Aron Budea 2020-12-20 20:59:38 UTC
This started with the same commit as bug 138969 did:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=6ac2d66c78d6c080aabfa46157113684c2f3a3b0
author		Jan Holesovsky <kendy@collabora.com>	2019-10-18 11:19:04 +0200
committer	Tomaž Vajngerl <quikee@gmail.com>	2020-03-17 22:01:15 +0100

pdfium: Make Insert -> Image... use VectorGraphicData for PDF.

Bisected with: bibisect-linux64-7.0
Comment 9 Justin L 2022-02-28 09:17:53 UTC
I think this was fixed in LO 7.4 by author Tomaž Vajngerl on 2021-12-06 12:43:00
commit 4c00e8fb10437fcaefe8635ef390b78376938d15
    Add image preferred DPI document setting, use it in Writer, Impress
    This adds a "image preferred DPI" document setting, which is used
    as a suggestion of the DPI that an image should have in the
    document. This is currently used when the image is inserted into
    the document (Writer, Impress/Draw) to resize it to the preferred
    DPI value.