Bug 138968 - PDF image vanishes from canvas after PDF export or cut and pasting the image (STR comment 7)
Summary: PDF image vanishes from canvas after PDF export or cut and pasting the image ...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Clipboard PDF
  Show dependency treegraph
Reported: 2020-12-16 09:42 UTC by Telesto
Modified: 2022-02-28 09:17 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:

Example file (103.29 KB, application/vnd.oasis.opendocument.text)
2020-12-16 09:43 UTC, Telesto
Fine file saved with 7.0 (84.94 KB, application/vnd.oasis.opendocument.text)
2020-12-16 21:38 UTC, Telesto
PDF (12.64 KB, application/pdf)
2020-12-20 08:34 UTC, Telesto

Note You need to log in before you can comment on or make changes to this bug.
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]

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:

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.