Bug 147164 - FILESAVE: PDF: Drawings are gone converting to PDF from commandline
Summary: FILESAVE: PDF: Drawings are gone converting to PDF from commandline
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.4.0
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2022-02-03 19:22 UTC by Xisco Faulí
Modified: 2022-02-21 14:56 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
sample file (31.00 KB, application/vnd.ms-powerpoint)
2022-02-03 19:22 UTC, Xisco Faulí
Details
good vs bad (273.56 KB, image/png)
2022-02-03 19:23 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2022-02-03 19:22:17 UTC
Created attachment 178025 [details]
sample file

Steps to reproduce:
1. Download attached document
2. Convert it to pdf using commandline: instdir/program/soffice --headless --convert-to pdf /home/xisco/Descargas/GeoTrust\ Root\ Hierarchy\ Plan\ Sept\ 2009.ppt --outdir /home/xisco/Descargas/
3. Open the generated PDF

-> Connectors in slide 2 to 5 are gone

Reproduced in

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: d5f015185240a7bddfed7ddf10d6b5426e35fb72
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded

[Bug found by office-interoperability-tools]
Comment 1 Xisco Faulí 2022-02-03 19:23:11 UTC
Created attachment 178026 [details]
good vs bad
Comment 2 Xisco Faulí 2022-02-03 19:24:01 UTC
Regression introduced by:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=9a850dd9f3c221660b6259bdfd64a77343f2256c

author	Noel Grandin <noel.grandin@collabora.co.uk>	2022-01-12 10:27:38 +0200
committer	Noel Grandin <noel.grandin@collabora.co.uk>	2022-01-12 14:45:30 +0100
commit 9a850dd9f3c221660b6259bdfd64a77343f2256c (patch)
tree a358210df36d9df53e0e614a3bb702e0e604750c
parent eebe4747d2d13545004937bb0267ccfc8ab9d63f (diff)
used cache value in ViewObjectContact::getPrimitive2DSequence (2nd attempt)

Bisected with: bibisect-linux64-7.4

Adding Cc: to Noel Grandin
Comment 3 Noel Grandin 2022-02-05 13:01:06 UTC
This should have been fixed by 
   commit 44febe0ea815405ceb90ace5430f11fde634d89b
   Author: Noel Grandin <noel.grandin@collabora.co.uk>
   Date:   Mon Jan 31 15:01:12 2022 +0200
   tdf#146999 draw, artifacts when scrolling up and down
Comment 4 Xisco Faulí 2022-02-07 18:08:57 UTC
(In reply to Noel Grandin from comment #3)
> This should have been fixed by 
>    commit 44febe0ea815405ceb90ace5430f11fde634d89b
>    Author: Noel Grandin <noel.grandin@collabora.co.uk>
>    Date:   Mon Jan 31 15:01:12 2022 +0200
>    tdf#146999 draw, artifacts when scrolling up and down

Hi Noel,
No, it's still reproducible with

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 24e6217c0abdaed703a077e77881ad6e8b4f6f0e
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 5 Commit Notification 2022-02-17 06:28:34 UTC
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/0e4a1615a77f7d4753ae5f657acff30bf6b248fc

tdf#147164 Drawings are gone converting to PDF from commandline

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Commit Notification 2022-02-21 14:56:48 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/846374f00e820323b4555c6438309f2c1a524d6f

tdf#147164: vcl_pdfexport: Add unittest

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.