Bug 69483

Summary: PDF: background image overlays text when "Lossless compression" and "PDF/A-1a" used
Product: LibreOffice Reporter: Günther Breitfuß <g.breitfuss>
Component: Printing and PDF exportAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: barta, jorendc, mst.fdo
Version: Inherited From OOoKeywords: regression
Hardware: All   
OS: Windows (All)   
Whiteboard: BSA
i915 platform: i915 features:
Attachments: attached is an example file

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 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 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 :)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.