https://bugs.documentfoundation.org/show_bug.cgi?id=169816

            Bug ID: 169816
           Summary: Table with fixed row height (2.59 cm) is cut in half
                    when pasted on a new page (only rows 7–10 appear) if
                    bottom page margin is set to 1 cm
           Product: LibreOffice
           Version: unspecified
          Hardware: Other
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
In LibreOffice Writer, when I create a 4×10 table and set every row to exactly
2.59 cm height, the total table no longer fits on one page.
I reduce the bottom page margin from 2 cm to 1 cm → now all 10 rows fit
perfectly on page 1.
Then I copy the whole table (Ctrl+A twice → Ctrl+C), go to a new page
(Ctrl+Enter) and paste it (Ctrl+V).
Result: on the second page only rows 7–10 appear, the first six rows are
completely missing/gone.
Weird workaround:
Open Format → Page Style → set bottom margin back to 2 cm → OK,
then immediately open it again and set it back to 1 cm → OK.
After doing this little “margin dance”, copying and pasting the table works
correctly and all 10 rows appear on every new page.

Steps to Reproduce:
1. Open a new Writer document.  
2. Insert → Table → 4 columns, 10 rows (default settings).  
3. Number the first column from 1 to 10 (just for visibility).  
4. Click anywhere in the table → Ctrl + A (select whole table).  
5. Right-click → Row → Height → set to **2.59 cm** → check “Fit to size” is OFF
→ OK.  
   → All 10 rows now have exactly 2.59 cm height. The table no longer fits on
the first page.  
6. Menu Format → Page Style → tab “Page” → change **Bottom margin** from 2 cm
to **1 cm** → OK.  
   → The table now fits perfectly on page 1 (all 10 rows visible).  
7. Click inside the table → press **Ctrl + A twice** (this selects the entire
table object).  
8. Ctrl + C (copy the table).  
9. Click below the table (outside the table → Ctrl + Enter (insert manual page
break → new page).  
10. Ctrl + V (paste the table on the new page).

Actual Results:
On the new page 2 only rows 7–10 of the table are visible. The first 6 rows are
missing (the table appears completely broken/cut).

Expected Results:
The pasted table on page 2 should look exactly like the original table on page
1 (all 10 rows with 2.59 cm height).

**Workaround (very strange):** 
1. Menu Format → Page Style → set Bottom margin back to **2 cm** → OK.  
2. Immediately open Format → Page Style again and set Bottom margin back to **1
cm** → OK.  Now table appears correctly on page 2.

**Additional notes:**  
- The bug only happens when 4 columns, 10 rows table is created. 3 columns, 10
rows or lower the bug does not appear. With higher columns i have not tested

Thank you!


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Ubuntu package version: 4:24.2.7-0ubuntu0.24.04.4
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to