Bug 127743 - FILESAVE PDF Image is lost when saving docx to pdf
Summary: FILESAVE PDF Image is lost when saving docx to pdf
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx, regression
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2019-09-24 13:02 UTC by NISZ LibreOffice Team
Modified: 2020-08-25 13:05 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
The example file saved by LO 6.1 (63.71 KB, application/pdf)
2019-09-24 13:03 UTC, NISZ LibreOffice Team
Details
The example file saved by LO 6.2 (1.12 KB, application/pdf)
2019-09-24 13:03 UTC, NISZ LibreOffice Team
Details
Example file from Word (64.48 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-09-24 13:03 UTC, NISZ LibreOffice Team
Details
The example file saved by LO 7.0 (19.18 KB, application/pdf)
2020-08-25 13:00 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2019-09-24 13:02:46 UTC
Description:
LibreOffice 6.3 no longer exports images from DOCX file to PDF.

Steps to Reproduce:
    1. Open the sample DOCX in LibreOffice 6.4 
    2. Export it to PDF
    3. Open the PDF 

Actual Results:
Pictures are missing from the exported PDF.

Expected Results:
Pictures shall be exported as well.


Reproducible: Always


User Profile Reset: No



Additional Info:
LibreOffice details:

Version: 6.4.0.0.alpha0+ (x64)
Build ID: 41cd3e8e817c8c33a13608e62eeb06ce2c6977e4
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-09-01_22:04:10
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: threaded

Bibisected using bibisect-win32-6.3 to:
URL:https://cgit.freedesktop.org/libreoffice/core/commit/?id=362c1cf2bd580f6dc8bf27bdcd79174111bc1b5c 
author: 	 Armin Le Grand <Armin.Le.Grand@me.com>
committer:  Armin Le Grand <Armin.Le.Grand@me.com>

summary: tdf#124272 use ClipRegion's geometry if not a rectangle
Comment 1 NISZ LibreOffice Team 2019-09-24 13:03:10 UTC
Created attachment 154438 [details]
The example file saved by LO 6.1
Comment 2 NISZ LibreOffice Team 2019-09-24 13:03:26 UTC
Created attachment 154439 [details]
The example file saved by LO 6.2
Comment 3 NISZ LibreOffice Team 2019-09-24 13:03:47 UTC
Created attachment 154440 [details]
Example file from Word
Comment 4 Durgapriyanka 2019-09-24 16:42:34 UTC
Thank you for reporting the bug. I cannot reproduce the bug in

Version: 6.3.0.0.alpha0+
Build ID: b6b28931435e44aca92b8c0e1659f701e3ed1a87
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-01-30_06:57:04
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded

and

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4 

Pictures are perfectly exported.
Comment 5 raal 2019-09-24 16:49:29 UTC
Confirm with Version: 6.4.0.0.alpha0+ (x64)
Build ID: 0d90da9ea0a23c9c4afac62025208559b1496a0e
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win;
Comment 6 NISZ LibreOffice Team 2020-08-25 13:00:42 UTC
Created attachment 164673 [details]
The example file saved by LO 7.0

This seems to be fixed in 7.0
Comment 7 NISZ LibreOffice Team 2020-08-25 13:05:13 UTC
Fix bibisected to:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=2abe9837deee3823c7928a76b5b2f94f1464f1a3

author	Miklos Vajna <vmiklos@collabora.com>	2020-05-13 17:59:34 +0200
committer	Miklos Vajna <vmiklos@collabora.com>	2020-05-13 21:29:25 +0200

DOCX import: fix interaction between the crop and the wrap polygon of images

Thanks Miklos! :)