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 ...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
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:


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

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]
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.