Bug 141232 - FILEOPEN DOCX Paragraph with page number field in footer after table is missing
Summary: FILEOPEN DOCX Paragraph with page number field in footer after table is missing
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx, regression
Depends on:
Blocks: DOCX-Header-Footer
  Show dependency treegraph
 
Reported: 2021-03-24 15:45 UTC by NISZ LibreOffice Team
Modified: 2022-02-10 10:21 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Example file from Word (27.54 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-03-24 15:45 UTC, NISZ LibreOffice Team
Details
Screenshot of the original document side by side in Word and Writer (173.64 KB, image/png)
2021-03-24 15:46 UTC, NISZ LibreOffice Team
Details
Screenshot of the original document side by side in Word and Writer (96.13 KB, image/png)
2021-07-23 06:57 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
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.