Bug 164907 - FILEOPEN DOCX: wrong number of rows per page
Summary: FILEOPEN DOCX: wrong number of rows per page
Status: UNCONFIRMED
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, regression
Depends on:
Blocks: DOCX-Tables
  Show dependency treegraph
 
Reported: 2025-01-29 01:41 UTC by Justin L
Modified: 2025-01-29 01:45 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
forum-mso-de-130675.docx: clear example document (25.10 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-01-29 01:41 UTC, Justin L
Details
forum-mso-de-130675.docx_mso.pdf: how it looks in Word 2019 (141.60 KB, application/pdf)
2025-01-29 01:45 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-29 01:41:27 UTC
Created attachment 198834 [details]
forum-mso-de-130675.docx: clear example document

I have seen a lot of documents affected by 
25.2 commit 4f5b896d004af023f210f235aeafa9abc50068d2
Author: Oliver Specht on Thu Jun 27 08:57:43 2024 +0200
    tdf#155229 Calculate row height incl. border if 'atLeast' is set

In most of them, I assumed it just exposed some other spacing issue. But this particular document shows a very large difference from MS Word 2019 on the very first page (where before we were pretty close to per-pixel perfection), so I think it probably exposes an edge case or a bug and is worth investigating.

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

Notice that the last row on page 1 contains the "Text" "Olivia...". It should have 3 more rows, ending with "Hallo. (conter) Ich bin Simon."

A4 paper size, Calibri font, row height atLeast 1.5cm - I don't see anything jumping out at me as to what would be wrong here, but something is definitely amiss.

Found by Collabora's mso-test

Since I'm creating an issue about this, let me at least mention the other documents I found.
-forum-mso-en-2385.docx: 54 pages instead of 42 pages - mostly near end of doc
-forum-mso-de-130675.docx: 6 pages instead of 4 pages.
-forum-mso-en-18195.docx: table doesn't quite fit on first page...

-ooo50668-1.doc: loads slowly now - off by one line before page break.
-forum-mso-en4-129146.doc: off by one line
Comment 1 Justin L 2025-01-29 01:45:34 UTC
Created attachment 198835 [details]
forum-mso-de-130675.docx_mso.pdf: how it looks in Word 2019

(In reply to Justin L from comment #0)
> -forum-mso-de-130675.docx: 6 pages instead of 4 pages.
Duhh - that is the one I'm reporting on...