Bug 164893 - FILEOPEN DOCX inline frame: additional numbered paragraph appeared
Summary: FILEOPEN DOCX inline frame: additional numbered paragraph appeared
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx, regression
Depends on:
Blocks: DOCX-Paragraph
  Show dependency treegraph
 
Reported: 2025-01-28 16:54 UTC by Justin L
Modified: 2025-03-20 17:23 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
forum-mso-de-59279.docx (41.53 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-01-28 16:54 UTC, Justin L
Details
LO25.2.0.1 displays unexpected paragraph numbering (429.92 KB, image/png)
2025-01-29 01:00 UTC, Piotr Osada
Details
forum-mso-en-5635.docx: Lots of numbering/indent issues in this document as well (33.50 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-02-08 00:11 UTC, Justin L
Details
forum-mso-en-5635.docx_mso.pdf: how it looks in Word 2019 (51.68 KB, application/pdf)
2025-02-08 00:12 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin L 2025-01-28 16:54:42 UTC
Created attachment 198807 [details]
forum-mso-de-59279.docx

The list numbering in the table (column 2) is now 1 and 3 instead of 1 and 2. The number two is inserted in the first column, where it doesn't belong.

This started in 25.2 with commit 56588663a0fddc005c12afaa7d3f8874d036875f
Author: László Németh on Fri Sep 13 09:02:08 2024 +0200
    tdf#131728 sw inline heading: fix DOCX paragraph layout interoperability

Steps to reproduce
1.) open forum-mso-de-59279.docx

Notice on page 1 the numbering in the table.

Prior to this commit, at the end of the content in A2 there (correctly) was an empty paragraph. Now, there is (incorrectly) an additional empty, numbered paragraph before A2's content.

Additional problems can be seen with this example document. For example, the inline framed paragraphs are not nicely lined up with the following content - for both "a. subtitle" and "b. newer subtitle".

This whole area was never "correct" before, so I'm not name-blaming here, but having the numbering go out of sync definitely should be considered a regression.
Comment 1 Justin L 2025-01-28 21:59:21 UTC
(In reply to Justin L from comment #0)
> Additional problems can be seen with this example document. For example, the
> inline framed paragraphs are not nicely lined up with the following content
reported separately in bug 164903.
Comment 2 Piotr Osada 2025-01-29 01:00:47 UTC
Created attachment 198833 [details]
LO25.2.0.1 displays unexpected paragraph numbering

Confirm with:

Version: 25.2.0.1 (X86_64) / LibreOffice Community
Build ID: ddb2a7ea3a8857aae619555f1a8743e430e146c9
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win
Locale: pl-PL (pl_PL); UI: en-US
Calc: CL threaded
Comment 3 Justin L 2025-02-08 00:11:59 UTC
Created attachment 199059 [details]
forum-mso-en-5635.docx: Lots of numbering/indent issues in this document as well
Comment 4 Justin L 2025-02-08 00:12:28 UTC
Created attachment 199060 [details]
forum-mso-en-5635.docx_mso.pdf: how it looks in Word 2019
Comment 5 Justin L 2025-03-20 17:23:14 UTC
Still repro in master.

(László - thanks for fixing so many of the other bug reports.)