[Libreoffice-bugs] [Bug 121407] New: nested table layout error

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Nov 14 07:12:36 UTC 2018


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

            Bug ID: 121407
           Summary: nested table layout error
           Product: LibreOffice
           Version: 6.1.3.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: 564398053 at qq.com

Description:
Hi, I found that there is an error when table is nested.
You could easily see the bug in attachment.
I debug the code, and I know there is bug with SwTabFrame::MakeAll(), but the
layout algorithm is too complex for me to fix it.
Is there any one could help fix this. Thanks.
:D

Steps to Reproduce:
1.set page width to 8 cm and page height to 6 cm
2.insert a table with 2 rows and 1 column.
3.insert a inner table with just one cell into first table's bottom cell.
4.set the inner table border color to cyan to more easily see the layout bug.
5.enter 7 empty lines in to inner table.
6.enter empty lines into outer table to make the upper cell's bottom line
strictly close to the page bottom.
sadly, the whole inner table which should at second page goes totally into
first page. 



Actual Results:
Looks like following

 first page
-------------------------------------------------------------------
|                                                                 |
|                                                                 |
|                                                                 |
|                                                                 |   
|-----------------------------------------------------------------|
| all inner table content goes here with less than 0.2 cm height  |
|-----------------------------------------------------------------|
      second page

Expected Results:
 first page
-------------------------------------------------------------------
|                                                                 |
|                                                                 |
|                                                                 |
|                                                                 |   
|-----------------------------------------------------------------|
| inner table at second page                                      |     
|                                                                 |
|                                                                 |
|                                                                 |
|                                                                 |
|-----------------------------------------------------------------|


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 4.3.3.2
Build ID: ab5787d23cc2fddf057ced56647ef9f5e6ebefdd

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181114/d39f455e/attachment.html>


More information about the Libreoffice-bugs mailing list