Bug 69483 - PDF: background image overlays text when "Lossless compression" and "PDF/A-1a" used
Summary: PDF: background image overlays text when "Lossless compression" and "PDF/A-1a...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-17 18:24 UTC by Günther Breitfuß
Modified: 2018-03-08 17:27 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
attached is an example file (897.98 KB, application/vnd.oasis.opendocument.text)
2013-09-17 18:24 UTC, Günther Breitfuß
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Günther Breitfuß 2013-09-17 18:24:48 UTC
Created attachment 86006 [details]
attached is an example file

Problem description: 

Steps to reproduce:
1. Full background is a image
2. fill in text
3. generate pdf

Current behavior: the text is behind the image

Expected behavior: the image is front of the text

              
Operating System: Windows 7
Version: 4.1.1.2 release
Comment 1 ign_christian 2013-09-18 04:41:48 UTC
Not reproducible on LO 4.0.5.2 (Win7 32bit), using both Lossless & JPEG compression while exporting to PDF.
Comment 2 tommy27 2013-09-18 21:14:02 UTC
me neither with 4.1.1.2 under Win7 64bit

try resetting your user profile.
see link: https://wiki.documentfoundation.org/UserProfile#Resolving_corruption_in_the_user_profile
Comment 3 Günther Breitfuß 2013-09-20 14:13:43 UTC
Clarification of reproduction:

1. background of the page has a picture of the whole area.
2. write any text in the document
3. in addition, an image with transparency insert, like a signature (gif, png)!
4. creating a PDF
5. confirm the dialogue that transparency is removed

When you open this PDF in Acrobat Reader you can see the text only for a short moment. After completely loading the file the text an the image disappears. You only see the image from the background.

This effect does not occur if no additional transparency image is inserted.

Test with the example file.
Comment 4 tommy27 2013-09-21 18:51:00 UTC
@Günther Breitfuß 

I confirm that exporting your test file to PDF (without editing it) works fine on my PC. the PDF output is correctly shown by Acrobat 7.1 and Foxit Reader 5.4.

which Acrobat reader version do you use? have you tried opening the PDF output with another viewer or in another computer?
Comment 5 Jorendc 2013-10-07 22:08:19 UTC
(In reply to comment #4)
> @Günther Breitfuß 
> 
> I confirm that exporting your test file to PDF (without editing it) works
> fine on my PC. the PDF output is correctly shown by Acrobat 7.1 and Foxit
> Reader 5.4.
> 
> which Acrobat reader version do you use? have you tried opening the PDF
> output with another viewer or in another computer?

-> NEEDINFO from bug submitter.
Comment 6 Günther Breitfuß 2013-10-08 17:48:12 UTC
Am 08.10.2013 00:08, schrieb bugzilla-daemon@freedesktop.org:
> Jorendc <mailto:jorendc@libreoffice.org> changed bug 69483 
> <https://bugs.freedesktop.org/show_bug.cgi?id=69483>
> What 	Removed 	Added
> Status 	UNCONFIRMED 	NEEDINFO
> CC 		jorendc@libreoffice.org
> Ever confirmed 		1
>
> *Comment # 5 <https://bugs.freedesktop.org/show_bug.cgi?id=69483#c5> 
> on bug 69483 <https://bugs.freedesktop.org/show_bug.cgi?id=69483> from 
> Jorendc <mailto:jorendc@libreoffice.org> *
> (In reply tocomment #4  <show_bug.cgi?id=69483#c4>)
> > @Günther Breitfuß
> >
> > I confirm that exporting your test file to PDF (without editing it) works
> > fine on my PC. the PDF output is correctly shown by Acrobat 7.1 and Foxit
> > Reader 5.4.
> >
> > which Acrobat reader version do you use? have you tried opening the PDF
> > output with another viewer or in another computer?
>
> -> NEEDINFO from bug submitter.
   I need Acrobat Reader XI. It's the same effect on many other 
computers (I test 4 pc's with win xp an win 7): writer-file with image 
(png) on full background as submission -> fill in a transparent grafic 
(gif or png) an optional text -> generate pdf (reduction the transparent 
) -> on load the new pdf with acrobat you will see the background and 
the transparent image (and the optional text) for a half second, after 
only the background.
> ------------------------------------------------------------------------
> You are receiving this mail because:
>
>   * You reported the bug.
>
Comment 7 Jorendc 2013-10-08 18:25:42 UTC
Please do not reply on the email you receive, but browse to the bug report itself, and leave a comment over there. (https://bugs.freedesktop.org/show_bug.cgi?id=69483)
Replying to the email result in a lot of noise.

Marking as UNCONFIRMED again.

Kind regards,
Joren
Comment 8 Michael Stahl (allotropia) 2014-02-05 14:16:58 UTC
> 5. confirm the dialogue that transparency is removed

this means checking the "PDF/A-1a" box in the PDF export dialog.

cannot reproduce this on 4.1.1.2 or 4.2.0.4, both with PDF/A-1a enabled and disabled,
on Linux when viewing the PDFs with Okular/Evince and "gv"
(so 2 different PDF renderers)

however i can reproduce the bug on current master,
with PDF/A-1a enabled only the background image is visible in Okular and gv.

but if Günther says it fails for him in 4.1.1.2 i'm wondering if it
"works by accident" for me, if the XPdf/Ghostscript based programs
are buggy, if the Acrobat Reader is buggy, if it only fails on Windows,
or if there are actually 2 different bugs with the same effect...
Comment 9 Michael Stahl (allotropia) 2014-02-05 15:36:58 UTC
oops now i realize my mistake: the bug happens on master only when
both "lossless" images and "PDF/A-1a" are enabled... sigh... let's re-do this...

ok this is broken in 4.1.0 release, in 4.0.0, in 3.6.7, in 3.5.7, in 3.4.6,
in OOo 3.3, oh actually the newest working version is OOo 3.2.1.

adjusting summary accordingly... well at least the work-around is obvious :)
Comment 10 Matthew Francis 2015-02-14 12:29:45 UTC
If "Inherited from OOo" then not a regression (as defined here)

Removing Keywords:regression
Comment 11 QA Administrators 2016-02-21 08:34:43 UTC Comment hidden (obsolete)
Comment 12 Günther Breitfuß 2016-02-21 18:09:44 UTC
Now i tested the bug with libreoffice 5.1.0.3

1. page with background-image on full background (whole area, no frame)
2. fill in another image with transparency like a signature (gif, png)!
4. creating a PDF format PDF/A-1a (!)
5. confirm the dialogue that transparency is removed

-> result ist a emtpty PDF!

It works without PDF/A-1a.
Comment 13 Günther Breitfuß 2016-02-22 08:16:16 UTC
Same test with libreOffice 5.0.4.2

-> the PDF is correct!
Comment 14 tommy27 2016-02-22 13:43:09 UTC
so, is the bug still present or not?
Comment 15 Günther Breitfuß 2016-02-22 16:28:42 UTC
In LibreOffice 5.0.4.2 the bug is solved!

In LibreOffice 5.1.0.3 the same test leads to a similar mistake (emtpty PDF). New bug at the same place?
Comment 16 tommy27 2016-02-22 17:54:23 UTC
weird... so FIXED in the 5.0.x codeline and regression in the 5.1.x ?
Comment 17 Günther Breitfuß 2016-02-22 18:02:06 UTC
I think so ...
Comment 18 tommy27 2016-02-23 07:42:19 UTC
would you please upload an image with transparency so it's easier to us to reproduce?
Comment 19 Günther Breitfuß 2016-02-23 16:22:28 UTC
Use the attached exemple-file. It includes a transparence gif (the signature). Export to PDF with PDF/A-1a and you get a empty PDF.
Comment 20 QA Administrators 2017-03-06 14:59:40 UTC Comment hidden (obsolete)
Comment 21 Günther Breitfuß 2017-03-06 19:02:56 UTC
The big is still present. Tested with the attached test-file. 
File opened -> PDF export as PDF with PDF/A-1a (ISO 19005-1)-archive.
Open PDF with Acrobat Reader shows a blank sheet.

LibreOffice 5.3.0.3
Windows 10
Comment 22 Günther Breitfuß 2017-03-06 19:05:03 UTC
(In reply to Günther Breitfuß from comment #21)
> bug
Comment 23 tommy27 2017-03-07 06:40:43 UTC
thnaks for feedback but please do not change the version field if you don't know how it works.

it has to indicate earliest version a bug appeared, not latest.

reverted to inherited from OOo.
Comment 24 QA Administrators 2018-03-08 03:44:03 UTC Comment hidden (obsolete)
Comment 25 Günther Breitfuß 2018-03-08 17:27:51 UTC
The error no longer exists in LO 6.0.1.1 (Windows 10).