Bug 125431 - An unwanted image appears in exported PDF
Summary: An unwanted image appears in exported PDF
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-21 15:51 UTC by 510jrb2301
Modified: 2022-09-27 13:49 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
example of file which can be used to reproduce bug (17.39 KB, application/vnd.oasis.opendocument.text)
2019-05-21 15:56 UTC, 510jrb2301
Details
Generated pdf (38.44 KB, application/pdf)
2019-05-21 17:56 UTC, m_a_riosv
Details
This is the pdf file which my (60.80 KB, application/pdf)
2019-05-22 23:20 UTC, 510jrb2301
Details
larger file which always has the unwanted imags. (3.58 MB, application/pdf)
2019-05-23 15:54 UTC, 510jrb2301
Details
The odt file (246.29 KB, application/vnd.oasis.opendocument.text)
2019-05-23 16:04 UTC, 510jrb2301
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 510jrb2301 2019-05-21 15:51:34 UTC
Description:
When I convert my .odt file to a .pdf file, a old .odg image pops up in the .pdf file an most pages.  A cut .odt file is available for reproducing the bug.  I am using Writer under Ubuntu 18.04 LTS


Steps to Reproduce:
1.Open file menu
2.Export as pdf
3.Archive as pdf

Actual Results:
An image of an old .odg file appears after the first page on evey page.  The image in the sam position on every page, but on new conversion can be found in different locations.

Expected Results:
The .odt file would be reproduced in .pdf format without the corrupting image.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes, but same problem comes up on 32 bit machine

have checked user profile. Result ok
openGL is enabled
Comment 1 510jrb2301 2019-05-21 15:56:53 UTC
Created attachment 151579 [details]
example of file which can be used to reproduce bug
Comment 2 m_a_riosv 2019-05-21 17:56:52 UTC
Created attachment 151580 [details]
Generated pdf

I can't reproduce.
Version: 6.2.4.1 (x64)
Build ID: 170a9c04e0ad25cd937fc7a913bb06bf8c75c11d
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: es-ES (es_ES); UI-Language: en-US
Calc: threaded
Use the navigator to search for that object.
Comment 3 Xisco Faulí 2019-05-22 14:42:22 UTC
I can't reproduce it in

Version: 6.3.0.0.alpha1+
Build ID: 33cc1debf963c503636cf9219aa81d1a6cf2e943
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

Does it work if you disable OpenGl ? -> https://wiki.documentfoundation.org/OpenGL

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the issue is still present
Comment 4 510jrb2301 2019-05-22 23:20:11 UTC Comment hidden (obsolete)
Comment 5 510jrb2301 2019-05-22 23:26:03 UTC
Comment on attachment 151608 [details]
This is the pdf file which my

Sorry about that cutoff.  The source is the .odt file sent earlier.  You will notice the unwanted image in the pdf file.
It's good to know that you are not reproducing it.  Such was my experience as well, but suddenly this but appeared and nothing I have been able to do corrects it.
Comment 6 QA Administrators 2019-05-23 02:51:15 UTC Comment hidden (obsolete)
Comment 7 510jrb2301 2019-05-23 15:54:12 UTC Comment hidden (obsolete)
Comment 8 510jrb2301 2019-05-23 16:01:39 UTC
Comment on attachment 151633 [details]
larger file which always has the unwanted imags.

Sorry, I downloaded the pdf file instead of the odt file, but you can see my problem.  I'll download the odt file which I should have done.
Comment 9 510jrb2301 2019-05-23 16:04:30 UTC
Created attachment 151634 [details]
The odt file

Same comment as earlier.  Would appreciate if you get the same pdf result as I do.  Thanks.
Comment 10 Buovjaga 2019-08-18 09:24:30 UTC
(In reply to 510jrb2301 from comment #7)
> Created attachment 151633 [details]
> larger file which always has the unwanted imags.
> 
> This is the larger file from which the earlier file was extracted.  I would
> appreciate if you find the unwanted image in the pdf transformation of this
> file. Thanks. If not, then let me know your configuration, so I can match it
> with mine. 
> 
> The OpenGL does not seem to have an effect.

The file has 226 pages. Please tell us, on which page the unwanted image appears.

Do I understand it correctly that attachment 151579 [details] is useless in reproducing the bug? Your pdf export of it certainly didn't show anything weird and unzipping it does not reveal anything extra. In this case we could mark it as obsolete.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.
Comment 11 QA Administrators 2020-02-15 02:05:13 UTC Comment hidden (obsolete)
Comment 12 Buovjaga 2020-02-16 08:15:03 UTC Comment hidden (obsolete)
Comment 13 Xavier Van Wijmeersch 2020-02-16 11:53:31 UTC
With the pdf created from attachment 151634 [details] there is starting on page 5 a image on top off the pages

I can reproduce the problem with

Version: 7.0.0.0.alpha0+
Build ID: 5f90c8bc0270f692a38073b1e4aa9e3b6ba106ed
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: nl-BE (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 14 QA Administrators 2020-08-15 04:25:44 UTC Comment hidden (obsolete)
Comment 15 510jrb2301 2020-08-21 23:54:27 UTC Comment hidden (obsolete)
Comment 16 Buovjaga 2020-08-22 06:58:48 UTC
(In reply to 510jrb2301 from comment #15)
> AMDG I suspaec this is a problem of my computer rather than LO.  I still
> recurs sometimes, but I think inadequate memory or load problems are the
> caise.  In any case we should close the bug.

It's not just your computer. I can reproduce what Xavier said. Unfortunately he did not change the status, so this lingered in needinfo needlessly.

Version 3.3.0 crashes when exporting (tested on Win). Version 3.5.0 already shows the issue. The image appears at the bottom of the page in older versions. The move to the top started in version 6.1. I will bibisect this later - maybe it provides some clues for fixing the issue.
Comment 17 Buovjaga 2020-08-22 20:00:40 UTC
The position change happened with https://git.libreoffice.org/core/commit/8d62b79f168180c6992eb483ec864d473050635f
tdf#112443 disable off-page content positioning
Comment 18 QA Administrators 2022-08-23 04:02:31 UTC Comment hidden (obsolete)
Comment 19 Timur 2022-09-27 13:49:57 UTC
Image Shape6 is anchored to footer of tpx.x on page 4. 
So printing is not a bug, rather bug could be that it's not shown, unless moved.
But we need reproducible way to make it invisible. 
For original problem, I mark as NotABug.