Bug 141232

Summary: FILEOPEN DOCX Paragraph with page number field in footer after table is missing
Product: LibreOffice Reporter: NISZ LibreOffice Team <libreoffice>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nemeth, xiscofauli
Priority: medium Keywords: bibisected, bisected, filter:docx, regression
Version: 5.3.0.3 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=103025
https://bugs.documentfoundation.org/show_bug.cgi?id=141233
https://bugs.documentfoundation.org/show_bug.cgi?id=120144
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 104522    
Attachments: Example file from Word
Screenshot of the original document side by side in Word and Writer
Screenshot of the original document side by side in Word and Writer

Description NISZ LibreOffice Team 2021-03-24 15:45:55 UTC
Created attachment 170708 [details]
Example file from Word

Attached document contains a table followed by a paragraph with a table and a paragraph of text, including a page number field, both in the header and the footer.
When opened in Writer the headers content opens correctly, but the footers content is missing the paragraph with the page number.

Steps to reproduce:
    1. Open attached document

Actual results:
Footer is missing the paragraph after the table.

Expected results:
Footer contains the paragraph after the table.

LibreOffice details:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: bdbb5d0389642c0d445b5779fe2a18fda3e4a4d4
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL

Also in:
Version: 5.3.0.3
Build ID: 7074905676c47b82bbcfbea1aeefc84afe1c50e1
CPU Threads: 4; OS Version: Windows 6.2; UI Render: GL; Layout Engine: new; 
Locale: en-US (hu_HU); Calc: CL

But not yet in:
Version: 5.2.0.4
Build ID: 066b007f5ebcc236395c7d282ba488bca6720265
CPU Threads: 4; OS Version: Windows 6.2; UI Render: GL; 
Locale: en-US (hu_HU)
Additional Information: 

Bibisected using bibisect-win32-5.3 to:
URL: https://cgit.freedesktop.org/libreoffice/core/commit/?id=f933da55797566cf725e35ab0df17e91c7d5598f 

author
Michael Stahl <mstahl@redhat.com>
2016-10-05 23:09:25 +0200
committer
Michael Stahl <mstahl@redhat.com>
2016-10-05 23:51:08 +0200

tdf#103025 sw: don't format header/footer in SwPageFrame::PreparePage()

Adding CC to: Michael Stahl
Comment 1 NISZ LibreOffice Team 2021-03-24 15:46:18 UTC
Created attachment 170709 [details]
Screenshot of the original document side by side in Word and Writer
Comment 2 Xisco Faulí 2021-03-31 09:07:18 UTC
Reproduced in

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: c088d26578d1be352efa49bd164a8217627648de
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 3 NISZ LibreOffice Team 2021-07-23 06:57:55 UTC
Created attachment 173789 [details]
Screenshot of the original document side by side in Word and Writer

Oops wrong image
Comment 4 NISZ LibreOffice Team 2021-07-23 07:04:47 UTC
Might be connected to bug 120144, but since this was bibisected, I don't mark yet as duplicate.
Comment 5 Justin L 2023-06-08 17:45:39 UTC

*** This bug has been marked as a duplicate of bug 104704 ***