Bug 135632 - LAYOUT DOCX Table last rows content does not show up in multi page non-floating table
Summary: LAYOUT DOCX Table last rows content does not show up in multi page non-floati...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: bibisected, bisected, filter:docx, regression
Depends on:
Blocks: DOCX-Tables
  Show dependency treegraph
Reported: 2020-08-11 10:54 UTC by NISZ LibreOffice Team
Modified: 2023-05-15 13:04 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

Screenshot of the original document side by side in Word and Writer (76.75 KB, image/png)
2020-08-11 10:54 UTC, NISZ LibreOffice Team

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2020-08-11 10:54:16 UTC
Created attachment 164150 [details]
Screenshot of the original document side by side in Word and Writer

When opening attachment #154864 [details] (from bug #127118) the table numbering slips on the second page: topmost cell is empty, and the bottom most contains numbering only up to 30 instead of 31.

Steps to reproduce:
    1. Open attachment #154864 [details] 

Actual results:
Second page starts with an empty table cell in the second column, numbering goes only until 30.

Expected results:
No empty cell and numbering goes to 31.

LibreOffice details:
Version: (x64)
Build ID: <buildversion>
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL

(yesterdays nightly)

But not yet in 6.3.

Additional Information: 

Bibisected using bibisect-win64-6.4 to:
URL: https://cgit.freedesktop.org/libreoffice/core/commit/?id=3cccdabf19a99fd3f657985c1822436d7679df2b 
author	László Németh <nemeth@numbertext.org>	2019-11-19 21:12:28 +0100
committer	László Németh <nemeth@numbertext.org>	2019-11-22 08:00:45 +0100

tdf#125300 extend AddParaSpacingToTableCells with line spacing

Adding CC to: László Németh
Comment 1 NISZ LibreOffice Team 2020-08-11 11:08:18 UTC
Also: copying a word from the vertical cell and pasting it before the table corrects the layout.
Comment 2 Xisco Faulí 2020-08-11 11:31:39 UTC
Reproduced in

Build ID: 0de191e1d201d691c2196cf1aef412a98affb66f
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 3 Justin L 2021-03-24 18:17:21 UTC
repro 7.2+
Comment 4 Czeber László Ádám (NISZ) 2023-05-15 13:04:22 UTC
Notes on reproduction:
- The error only appears for the min-row-height parameter in the row style
- Applying a minimal or optimal row height removes the layout error (the min-row-height parameter is deleted)
- If there is no merged cell at the beginning or the table is not two columns, it cannot be reproduced
- If there is more than one row of text in the cells, the error is also not reproduced

It is likely that the layout error bounces between two states until it the loop detection stopped it, but this causes the table elements to be drawn in two different states.