Bug 51792 - Writer: Table of Contents placed in a table, is cropped at one page in "Print Layout"
Summary: Writer: Table of Contents placed in a table, is cropped at one page in "Print...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.3.0 release
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: Not Assigned
Depends on:
Reported: 2012-07-06 11:07 UTC by ffabreti
Modified: 2017-10-30 10:51 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

switch beetween Print and Web Layout to see bug (36.19 KB, application/vnd.oasis.opendocument.text)
2012-07-06 11:07 UTC, ffabreti

Note You need to log in before you can comment on or make changes to this bug.
Description ffabreti 2012-07-06 11:07:36 UTC
Created attachment 63901 [details]
switch beetween Print and Web Layout to see bug

I dont know if this is related to #35449, but looks similar.

System is Ubuntu 11.10 
LibreOffice release
Attachment was originally Word .doc and converted to .odt

Table of contents doesnt show entirelly.
Corresponding pages neither.
Switch to "Web Layout" and full pages are visible.

+++ This bug was initially created as a clone of Bug #35449 +++

Hello, first I know that tables are not thought to be used in writer this way. But it's possible to do so and also hints at the internet recommend to use large tables to get independent columns for your document.

The attachment contains a file consisting one table with just one line and two columns. This table goes over many pages and footnotes are set. Since this table got longer and longer problems appeared at page break. The Document is fine at "Web Layout", but gets problems at "Print Layout".

At "Print Layout" it seems that text is cut of at end of random pages, also the number of Page Count is less than it should be. Pressing Ctrl + A you see that the text get marked and the marking runs out of page. This also causes high CPU-usage, and even can freezes the window.
Switching to "Web Layout" brings the whole written text back and everything works fine.

If the problem not totally accrues after opening the document, it will accrue after switching from "Web Layout" to "Print Layout" (watch Page Count!).

This behaviour was tested on Windows XP and Ubuntu-Linux (10.04 32bit and 10.10 64bit),with LibreOffice 3.3.1 and OpenOffice 3.2.1 as well.

My opinion:
This problem causes big confusion by users, even because it appears different at PCs with more or less power. 
If it should be impossible to implement a good working "Page Layout" with large tables, there might be at least a warning that tells the user that there will be problems. It could hint him to "Web Layout" or to different possibility’s like using boxes or marginalia, if this is adequate to his goal.

I hope you see what I mean, if there are any questions I'm willing to help.
Comment 1 ffabreti 2012-07-06 11:11:13 UTC
bug existed before .doc was converted to .odt
Comment 2 Cor Nouws 2012-07-07 04:14:14 UTC
thanks for your report.
It is indeed related to the table. So good to keep issue 35449 in mind too.
When you put the cursor in the table#36, and choose Table > Convert > To text, the TOC shows fully, also in print layout.
Comment 3 Cor Nouws 2012-07-07 04:20:27 UTC
And I set the version on 3.3.0. But I guess if you try OOo 1.1.5 or 2.1, you'll have the same problem
Comment 4 QA Administrators 2015-01-05 17:51:58 UTC Comment hidden (obsolete)
Comment 5 Cor Nouws 2015-01-05 20:18:21 UTC
Can't test in 4.4.0 due to

Confirmed in 4.2.8
Comment 6 QA Administrators 2016-01-17 20:03:57 UTC Comment hidden (obsolete)
Comment 7 manuel.defranceschi 2016-06-16 13:48:33 UTC
This bug is still present in:

Build ID: a8bd44573b75d1399257d6f5d052611439607189
CPU Threads: 2;
UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-06-13_23:46:49
Locale: it-IT (it_IT.UTF-8)
OS: openSUSE Leap 42.1 (x86_64)
Comment 8 Timur 2017-03-06 16:41:13 UTC
This does not depend on Bug 35449. 
What's missing here is "original Word .doc", so I set this to Needinfo in order to get that attachment here.
Comment 9 QA Administrators 2017-09-29 08:57:33 UTC Comment hidden (obsolete)
Comment 10 Xisco Faulí 2017-10-30 10:51:14 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team