Bug 126622 - DOCX PRINTING: Duplicate lines from footer in center second page document (preview in print dialog)
Summary: DOCX PRINTING: Duplicate lines from footer in center second page document (pr...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.0.2 rc
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks: Print-Dialog
  Show dependency treegraph
 
Reported: 2019-07-30 14:00 UTC by seven
Modified: 2023-04-30 09:38 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample (7.35 KB, application/zip)
2019-07-30 14:02 UTC, seven
Details
The document in print preview and the print dialog (66.14 KB, image/png)
2020-11-30 12:03 UTC, NISZ LibreOffice Team
Details
The example file in Writer 5.2 and 5.3 (132.99 KB, image/png)
2020-11-30 12:30 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description seven 2019-07-30 14:00:47 UTC
Description:
I do something wrong and now i have problem

Steps to Reproduce:
1. Open document
2. Make print preview or print
3. See problem

Actual Results:
additional lines showed/printed on second page

Expected Results:
no additional lines in center second page document


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 seven 2019-07-30 14:02:47 UTC
Created attachment 153057 [details]
Sample
Comment 2 Dieter 2019-07-30 15:30:29 UTC
I confirm it with

Version: 6.2.5.2 (x64)
Build-ID: 1ec314fa52f458adc18c4f025c545a4e8b22c159
CPU-Threads: 4; BS: Windows 10.0; UI-Render: GL; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded

and

Version: 6.4.0.0.alpha0+ (x64)
Build ID: 8f98a7c4e5b1f0b249c026577805a378b8a533d5
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-07-23_00:30:19
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded

I can't see additional lines in File => Print preview.
I can see additional lines on page 2 in print preview of the printing dalog
Comment 3 NISZ LibreOffice Team 2020-11-30 12:03:06 UTC
Created attachment 167678 [details]
The document in print preview and the print dialog

Still a problem in:

Version: 7.2.0.0.alpha0+ (x64)
Build ID: f7e2f5bca938aa916830e07895d2da6820282055
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL

Also the extra lines appear on the actual paper too.
Comment 4 NISZ LibreOffice Team 2020-11-30 12:30:57 UTC
Created attachment 167679 [details]
The example file in Writer 5.2 and 5.3

Looks like this was all good in LO 5.2 then became bad in 5.3, even in the editor view.
Comment 5 NISZ LibreOffice Team 2020-11-30 13:36:35 UTC
Bibisected with bibisect-win32-5.4 to:

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

author	Miklos Vajna <vmiklos@collabora.co.uk>	2017-01-06 13:49:06 +0100
committer	Jan Holesovsky <kendy@collabora.com>	2017-01-06 15:14:50 +0000

tdf#105143 DOCX import: enable DoNotCaptureDrawObjsOnPage layout compat option

Adding CC to: Miklos Vajna

This commit was also backported to 5.3 as https://cgit.freedesktop.org/libreoffice/core/commit/?id=68c05e360a65a3984d3839f563daa34e2cce0b14

There the editor also shows the extra lines but in 5.4 and current master only the print preview and the paper output... also the PDF export too.
Comment 6 Miklos Vajna 2020-11-30 14:22:04 UTC
This sounds like the import result was always wrong, but capturing the draw objects inside the page frame managed to hide this problem. Good to know, but this just means bisecting won't help to fix this bug.
Comment 7 QA Administrators 2023-04-20 03:31:10 UTC Comment hidden (obsolete)
Comment 8 Dieter 2023-04-30 09:38:15 UTC
No additional lines in print dialog or print preview with

Version: 7.5.3.1 (X86_64) / LibreOffice Community
Build ID: d29ee673721b12c92b3de9b9663473211414f0db
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

=> RESOLVED WORKSFORME