Bug 148079 - Headers and Footers are being duplicated on fileopen of German? MSO .docx (not if resaved in MSO)
Summary: Headers and Footers are being duplicated on fileopen of German? MSO .docx (no...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Header-Footer
  Show dependency treegraph
 
Reported: 2022-03-19 10:05 UTC by René Pardon
Modified: 2024-08-29 03:16 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
duplicate footer text (268.23 KB, image/png)
2022-03-19 10:06 UTC, René Pardon
Details
header duplication (9.69 KB, image/jpeg)
2022-03-19 10:07 UTC, René Pardon
Details
example docx for reproducing the described bug (120.07 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2022-03-19 19:18 UTC, julian.garbotz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description René Pardon 2022-03-19 10:05:13 UTC
Description:
When converting a Word Document with libreoffice/soffice to PDF we encounter problems with duplicates being generated. No matter if we use table to format headers/footers or just plain text. I've tested this on Ubuntu and MacOS and can reproduce it on both systems every time.

Steps to Reproduce:
1. create a word document (header-footer-test.docx) with a header/footer
2. convert to PDF: `/opt/homebrew/bin/soffice --invisible --convert-to pdf header-footer-test.docx`
3. open the generated header-footer-test.pdf file and see duplicate headers/footers

Actual Results:
headers/footers are duplicated

Expected Results:
PDF should look like the Word Document


Reproducible: Always


User Profile Reset: Yes



Additional Info:
I had the problem on Ubuntu and installed the latest available version through Homebrew on my Macbook to reproduce this behaviour. So I had a fresh user profile.
Comment 1 René Pardon 2022-03-19 10:06:10 UTC
Created attachment 178964 [details]
duplicate footer text

add screenshot of duplicated text within footer
Comment 2 René Pardon 2022-03-19 10:07:39 UTC
Created attachment 178965 [details]
header duplication

another screenshot showing duplicate header while converting docx to pdf
Comment 3 Timur 2022-03-19 19:00:49 UTC Comment hidden (obsolete)
Comment 4 René Pardon 2022-03-19 19:07:44 UTC Comment hidden (obsolete)
Comment 5 julian.garbotz 2022-03-19 19:18:44 UTC
Created attachment 178975 [details]
example docx for reproducing the described bug
Comment 6 Timur 2022-03-20 08:50:01 UTC Comment hidden (obsolete)
Comment 7 René Pardon 2022-03-20 08:59:14 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2022-03-21 03:27:15 UTC Comment hidden (obsolete)
Comment 9 Timur 2022-03-21 08:24:11 UTC
More often than not problem is not convert but wrong ODT save as DOCX or wrong fileopen of MSO DOCX. 
And that's the case here. It's not wrong conversion, but wrong MSO DOCX fileopen. 

(Also wrong is to set Blocks without testing first. I remove that.)

But there's more. This DOCX is saved in MSO 2016 and opens wrong with double H/F test with OO and LO 7.4+, so Inherited. 
But opens with normal single H/F resaved in MSO 2016. MSO saved DOC also opens OK.
I confirm with Low priority.
Comment 10 Timur 2022-03-21 09:24:18 UTC
My MSO is English, not sure if possible that problem is with saving in German MSO only.
Comment 11 QA Administrators 2024-08-29 03:16:26 UTC
Dear René Pardon,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug