Created attachment 135310 [details] Original Word Document I have an issue where LibreOffice writer corrupts the tabs in the header and footer of a previously created word document. The example word document I have attached "TabBug_original.docx" was created in Word 2013. The document "TabBug_original_after_writer_edit.docx" is after I have made a small text edit to the main body of the document. You can see that additional tabs are now present in the header and footer of the document. In fact these additional tabs can be created by just opening the original document in LibreOffice writer and pressing "save", without making any edits. Steps to re-create the issue: 1) Create original document in Word 2013. Screenshot documents "Word_2013_header_tabs.PNG" and "Word_2013_footer_tabs.PNG" show the header and footer tabs. 2) Open the document in LibreOffice writer. On first opening the header and footer tabs are as expected. See screenshot "LibreOffice_5.3.4.2_header_and_footer_on_first_opening.PNG". 3) Make a small edit to the document, save, exit LibreOffice writer. 4) Re-open the edited document in LibreOffice writer and you will see additional tabs in the header and footer. See the screenshot "LibreOffice_5.3.4.2_header_and_footer_after_edit.PNG" I believe this issue has existed for some time. The documents and screenshots I created were using LibreOffice 5.3.4.2 on Windows 10. I also tried LibreOffice 5.4.0.3 on Windows 10 and saw the same issue.
Created attachment 135311 [details] Word document after LibreOffice header and footer tab corruption
Created attachment 135312 [details] Screenshot of header tabs in Word 2013
Created attachment 135313 [details] Screenshot of footer tabs in Word 2013
Created attachment 135314 [details] Screenshot of header and footer tabs on first opening in LibreOffice Writer
Created attachment 135315 [details] Screenshot of header and footer tabs after edit in LibreOffice Writer
Repro. Arch Linux 64-bit, KDE Plasma 5 Version: 6.0.0.0.alpha0+ Build ID: 3c49b28ffa7ab062726e5e600312d9164224404e CPU threads: 8; OS: Linux 4.12; UI render: default; VCL: kde4; Locale: fi-FI (fi_FI.UTF-8); Calc: group Built on August 26th 2017 Arch Linux 64-bit LibreOffice 3.3.0 OOO330m19 (Build:6) tag libreoffice-3.3.0.4
Still present in released LibreOffice: Version 6.0.2.1 (x64) Build ID: f7f06a8f319e4b62f9bc5095aa112a65d2f3ac89 CPU threads: 4; OS: Windows 10.0; UI render: default; Locale: en-GB (en_GB); Calc: group Running on Windows 10.
Still present in released LibreOffice: Version: 6.0.5.2 (x64) Build ID: 54c8cbb85f300ac59db32fe8a675ff7683cd5a16 CPU threads: 4; OS: Windows 10.0; UI render: default; Locale: en-GB (en_GB); Calc: group Running on Windows 10.
fixed in LO 6.1.1 with fix from bug 63561 *** This bug has been marked as a duplicate of bug 63561 ***
I can confirm that this bug is fixed as of 6.1.1.2 64bit on Windows 10.