Bug 121407 - nested table layout error
Summary: nested table layout error
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables-Nested Writer-Table-Layouting
  Show dependency treegraph
 
Reported: 2018-11-14 07:12 UTC by 564398053
Modified: 2024-04-20 03:15 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
the odt to reproduce the bug (12.09 KB, application/vnd.oasis.opendocument.text)
2018-11-14 07:16 UTC, 564398053
Details
the normal layout (3.77 KB, image/png)
2018-11-14 07:22 UTC, 564398053
Details
the layout with error (8.13 KB, image/png)
2018-11-14 07:22 UTC, 564398053
Details
the expected result (9.31 KB, image/png)
2018-11-14 07:23 UTC, 564398053
Details
Open this file, and press enter as what attachment's images do (9.87 KB, application/vnd.oasis.opendocument.text)
2018-11-15 02:09 UTC, 564398053
Details
step 0, open the attachment odt (85.98 KB, image/png)
2018-11-15 02:10 UTC, 564398053
Details
step 1, press enter at this position (98.18 KB, image/png)
2018-11-15 02:11 UTC, 564398053
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 564398053 2018-11-14 07:12:36 UTC
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
Comment 1 564398053 2018-11-14 07:16:34 UTC Comment hidden (obsolete)
Comment 2 564398053 2018-11-14 07:22:27 UTC Comment hidden (obsolete)
Comment 3 564398053 2018-11-14 07:22:55 UTC Comment hidden (obsolete)
Comment 4 564398053 2018-11-14 07:23:27 UTC Comment hidden (obsolete)
Comment 5 Dieter 2018-11-14 21:03:30 UTC
I can't confirm this with

Version: 6.2.0.0.alpha1+ (x64)
Build ID: 8274c4c62df5b937b3f0bec9e1eeca85f3b219d4
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-10-22_01:47:50
Locale: en-US (de_DE); Calc: CL
Comment 6 564398053 2018-11-15 01:06:41 UTC Comment hidden (obsolete)
Comment 7 564398053 2018-11-15 01:08:07 UTC Comment hidden (obsolete)
Comment 8 564398053 2018-11-15 02:07:28 UTC Comment hidden (obsolete)
Comment 9 564398053 2018-11-15 02:09:40 UTC
Created attachment 146639 [details]
Open this file, and press enter as what attachment's images do
Comment 10 564398053 2018-11-15 02:10:20 UTC
Created attachment 146640 [details]
step 0, open the attachment odt
Comment 11 564398053 2018-11-15 02:11:17 UTC
Created attachment 146641 [details]
step 1, press enter at this position
Comment 12 564398053 2018-11-15 02:13:32 UTC Comment hidden (obsolete)
Comment 13 564398053 2018-11-15 02:14:15 UTC Comment hidden (obsolete)
Comment 14 564398053 2018-11-15 07:39:46 UTC
(In reply to Dieter Praas from comment #5)
> I can't confirm this with
> 
> Version: 6.2.0.0.alpha1+ (x64)
> Build ID: 8274c4c62df5b937b3f0bec9e1eeca85f3b219d4
> CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
> TinderBox: Win-x86_64@42, Branch:master, Time: 2018-10-22_01:47:50
> Locale: en-US (de_DE); Calc: CL

Sorry for making the comments so dirty.
Please Check attachments again. I upload a new one, the old is obsolete.
As described in attachment's images you could soon reproduce the bug.

Thanks.
Comment 15 Telesto 2018-11-15 08:15:09 UTC
Repro
Version: 6.2.0.0.alpha0+
Build ID: 76bf3939b0583212a56c317c85aea110f8ac6fee
CPU threads: 4; OS: Mac OS X 10.12.6; UI render: default; 
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2018-07-27_06:01:47
Locale: nl-NL (nl_NL.UTF-8); Calc: group threaded
Comment 16 Xisco Faulí 2018-11-16 11:09:24 UTC
Also reproduced in

Version: 5.2.0.0.alpha0+
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 4.10; Render: default; 

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 17 Xisco Faulí 2018-11-16 11:09:57 UTC
@Mike Kaganski, I thought you could be interested in this issue...
Comment 18 RickyTzou 2018-11-29 08:24:44 UTC
Still exists in version

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 0f25a3c36f27fd51453b9a9115f236b83c143684
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-27_20:06:55
Locale: zh-TW (zh_TW); UI-Language: en-US
Calc: threaded
Thank you!
Comment 19 QA Administrators 2022-04-20 03:36:51 UTC Comment hidden (obsolete)
Comment 20 QA Administrators 2024-04-20 03:15:37 UTC
Dear 564398053,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug