Bug 97337 - Background graphics cause artifacts in PDF export
Summary: Background graphics cause artifacts in PDF export
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
5.1.0.2 rc
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks:
 
Reported: 2016-01-23 20:11 UTC by Ofir
Modified: 2016-10-08 16:13 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
PPTX showing this issue (690.67 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2016-01-23 20:11 UTC, Ofir
Details
PDF exported from PowerPoint 2013 showing the expected result (107.91 KB, application/pdf)
2016-01-23 20:11 UTC, Ofir
Details
PDF exported from LibreOffice showing the issue (326.85 KB, application/pdf)
2016-01-23 20:12 UTC, Ofir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ofir 2016-01-23 20:11:14 UTC
Created attachment 122177 [details]
PPTX showing this issue

The attached PPTX has background graphics in the master slide (white circles).
When exporting to PDF, the circle on the right turns to dark blue and there are several diagonal black lines.

The PPTX is created with PowerPoint 2013 with the ion template.

Reproducible with LibreOffice 5.1.0.2 and 5.2.0.0.alpha0+ on Windows 7
Reproducible with LibreOffice 5.1.0.2 on Ubuntu 14.04.
Both are clean machines without anything installed beside LibreOffice (not even MS Office).

LibreOffice 5.0.4.2 doesn't have this issue so it looks like a regression.
Comment 1 Ofir 2016-01-23 20:11:57 UTC
Created attachment 122178 [details]
PDF exported from PowerPoint 2013 showing the expected result
Comment 2 Ofir 2016-01-23 20:12:22 UTC
Created attachment 122179 [details]
PDF exported from LibreOffice showing the issue
Comment 3 tommy27 2016-01-23 20:29:12 UTC
retested under Windows 8.1 x64 using LibO  5.2.0.0.alpha0+
Build ID: c81eddbb20c84280aa64c712e34c829380b24527
CPU Threads: 4; OS Version: Windows 6.2; UI Render: default; 
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2016-01-22_04:18:42
Locale: it-IT (it_IT)

the bug is not reproducible on my system and I get a correct PDF output unlike the attached PDF from the bug reporter

as in Bug 97298 I suggested the reporter to reset the User Profile in order to exclude a corrupted profile as root of the issue.

instructions here: https://wiki.documentfoundation.org/UserProfile

P.S. moved "regression" from summary notes to keywords field which is the correct place for that
Comment 4 tommy27 2016-01-24 10:22:24 UTC
just tested under Win7x64 using a brand new 5.1.0.2 RC install.
no issue at all. PPTX to PDF conversion is perfect.
Comment 5 Buovjaga 2016-01-28 16:06:18 UTC
Repro.

Win 7 Pro 64-bit Version: 5.2.0.0.alpha0+
Build ID: 259c1ed201f4277d74dfd600fed8c837cbf56abc
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-01-27_00:45:12
Locale: fi-FI (fi_FI)
Comment 6 tommy27 2016-01-28 19:25:26 UTC
@Beluga
I confirm I don't reproduce the bug.

I see that in my build stats "OS Version" is Windows 6.2
while in yours is Windows 6.1

can this explain the different behaviour?
Comment 7 Buovjaga 2016-01-28 19:32:15 UTC
(In reply to tommy27 from comment #6)
> @Beluga
> I confirm I don't reproduce the bug.
> 
> I see that in my build stats "OS Version" is Windows 6.2
> while in yours is Windows 6.1
> 
> can this explain the different behaviour?

I guess I have to test in Win 8.1 l8r.
Comment 8 Buovjaga 2016-02-04 16:58:04 UTC
It is true that I cannot repro in Win 8.1.
It looks a bit like bug 96653

I guess I'll have to test in Win 7 with a fresh build.

Btw. it crashed on export, if I had OpenGL enabled.

Win 8.1 32-bit
LibO Version: 5.2.0.0.alpha0+
Build ID: 27a114e73f9ce64f360b045233e1c9c74c207880
CPU Threads: 4; OS Version: Windows 6.29; UI Render: GL; 
TinderBox: Win-x86@42, Branch:master, Time: 2016-02-04_09:04:40
Locale: fi-FI (fi_FI)
Comment 9 Buovjaga 2016-02-09 08:32:30 UTC
No problem anymore.

Win 7 Pro 64-bit Version: 5.2.0.0.alpha0+
Build ID: 76ec54e8c9f3580450bca85236a4f5af0c328588
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-02-09_00:10:35
Locale: fi-FI (fi_FI)
Comment 10 tommy27 2016-02-09 09:56:18 UTC
@Ofir
what about you?
Comment 11 Ofir 2016-02-09 15:07:58 UTC
Issue still exists on the Ubuntu PPA version:
LibreOffice 5.1.0.2 10m0(Build:2)

Issue solved on Ubuntu 16.04 with the following Daily builds

Version: 5.1.1.0.0+
Build ID: 22b852788d94ecacde533e3961a3535ef2a89f7d
CPU Threads: 1; OS Version: Linux 4.3; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:libreoffice-5-1, Time: 2016-02-09_07:56:56
Locale: en-US (en_US.UTF-8)

Version: 5.2.0.0.alpha0+
Build ID: 76ec54e8c9f3580450bca85236a4f5af0c328588
CPU Threads: 1; OS Version: Linux 4.3; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-02-09_00:53:05
Locale: en-US (en_US.UTF-8)
Comment 12 Ofir 2016-03-25 00:16:22 UTC
I can still reproduce this issue on Ubuntu 14.04 server with no graphic card when using LO in headless mode.
LibreOffice 5.1.1.1 10m0(Build:1)
Comment 13 Buovjaga 2016-03-27 13:50:22 UTC
I tried with 5.2 and 5.1 using this:
soffice --convert-to pdf ion.pptx --headless

5.1 was fine, but surprisingly, 5.2 lost the blue background completely..
Let's set back to NEW and I will alert some devs later (and test with a fresh build beforehand).

64-bit, KDE Plasma 5
Build ID: 5.1.1.3 Arch Linux build-2
CPU Threads: 8; OS Version: Linux 4.4; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8)

Arch Linux 64-bit, KDE Plasma 5
Version: 5.2.0.0.alpha0+
Build ID: 96c1ae1d8e78ae8b9bd7d4001645cad24d62b720
CPU Threads: 8; OS Version: Linux 4.4; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8)
Built on March 25th 2016
Comment 14 Buovjaga 2016-04-01 14:42:09 UTC
I created a new bug for the background disappearance regression (it is not related to headless pdf export), bug 99030
Comment 15 Xisco Faulí 2016-10-08 11:14:31 UTC
I can no longer reproduce it in

Version: 5.3.0.0.alpha0+
Build ID: ae3ec79354f7b4967e736c6a4cd7c08fc52e2b7d
CPU Threads: 4; OS Version: Linux 4.2; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Comment 16 tommy27 2016-10-08 16:02:12 UTC
so WORKSOFORME?