Bug 127933 - Save as PDF doesn't export first bitmap object (while others are exported)
Summary: Save as PDF doesn't export first bitmap object (while others are exported)
Status: RESOLVED DUPLICATE of bug 115967
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
6.1.6.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2019-10-02 17:39 UTC by Manuel
Modified: 2020-11-12 08:03 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
File that have problem with PDF export and the pictures on head are crash (1.52 MB, application/vnd.oasis.opendocument.text)
2019-10-02 17:49 UTC, Manuel
Details
The example file saved with LO 6.4.0 (105.42 KB, application/pdf)
2020-08-25 14:04 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel 2019-10-02 17:39:14 UTC
Description:
There is an image in the header and when converting to PDF file the image does not appear with the version
Version: 6.3.2.2 (x64).
With the previous versions if it appears and works well.(refer version 6.1.X)

Steps to Reproduce:
1.Export to PDF
2.
3.

Actual Results:
I have reinstalled and tested several clean installations and several versions having this error only with versions later than 3.1.x

Expected Results:
There is an image in the header and when converting to PDF file the image does not appear with the version
Version: 6.3.2.2 (x64).
With the previous versions if it appears and works well.(refer version 6.1.X)
I have reinstalled and tested several clean installations and several versions having this error only with versions later than 3.1.x


Reproducible: Always


User Profile Reset: Yes



Additional Info:
I have reinstalled and tested several clean installations and several versions having this error only with versions later than 3.1.x
Comment 1 Manuel 2019-10-02 17:49:43 UTC
Created attachment 154714 [details]
File that have problem with PDF export and the pictures on head are crash

Add file with problems to convert PDF becausse the head pictures (logos) are crashed. The first logo on left side is out.
Comment 2 Oliver Brinzing 2019-10-02 19:26:08 UTC
reproducible with:

Version: 6.1.6.3 (x64)
Build-ID: 5896ab1714085361c45cf540f76f60673dd96a72
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: 

Version: 6.4.0.0.alpha0+ (x64)
Build ID: 66e45a1ae861d50edf65fed9e39c9c9d5b15e0ac
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded

but *not* reproducible with:

Version: 6.0.7.3 (x64)
Build-ID: dc89aa7a9eabfd848af146d5086077aeed2ae4a5
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc:
Comment 3 Timur 2019-10-03 13:18:38 UTC
The image is bitmap and irrelevant it's in header.
That object is placed and size counted twice in ODT structure.
Comment 4 raal 2019-10-03 14:14:15 UTC
This seems to have begun at the below commit.
Adding Cc: to Armin Le Grand ; Could you possibly take a look at this one? Thanks
 c12db43a0e7c069b028b000425edc4882b973a06 is the first bad commit
commit c12db43a0e7c069b028b000425edc4882b973a06
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Tue Apr 2 12:12:21 2019 -0700

    source 362c1cf2bd580f6dc8bf27bdcd79174111bc1b5c

author	Armin Le Grand <Armin.Le.Grand@me.com>	2019-04-02 17:59:40 +0200
committer	Armin Le Grand <Armin.Le.Grand@me.com>	2019-04-02 21:03:07 +0200
commit 362c1cf2bd580f6dc8bf27bdcd79174111bc1b5c (patch)
tree 3fae3016fd6960121f40c2391f252e2a94377e21
parent 958442c89237eece4ff2467a7800bca6b0be9fe7 (diff)
tdf#124272 use ClipRegion's geometry if not a rectangle
Comment 5 NISZ LibreOffice Team 2020-08-25 14:04:09 UTC
Created attachment 164676 [details]
The example file saved with LO 6.4.0

Seems to work since 6.4.0 - all three images are now saved.
Comment 6 NISZ LibreOffice Team 2020-08-25 14:08:10 UTC
Bibisect shows this got better after:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=83baaec3a087f83d0ad3371d55671d9496771586

author	Xisco Fauli <xiscofauli@libreoffice.org>	2019-10-21 17:41:52 +0200
committer	Xisco Faulí <xiscofauli@libreoffice.org>	2019-10-24 11:30:38 +0200

tdf#115967: Revert "sw: Use primitive renderer for graphics"

*** This bug has been marked as a duplicate of bug 115967 ***