Bug 94681 - Table of contents in two pages when opening file
Summary: Table of contents in two pages when opening file
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.2.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:odt
: 101028 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-01 21:14 UTC by delbouys
Modified: 2018-01-24 17:25 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
one example of the bug (322.25 KB, application/vnd.oasis.opendocument.text)
2015-10-01 21:14 UTC, delbouys
Details
Behaviours with TOC visible upon opening document (603.22 KB, application/vnd.oasis.opendocument.text)
2015-11-15 21:17 UTC, Yvan Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description delbouys 2015-10-01 21:14:05 UTC
Created attachment 119177 [details]
one example of the bug

insert a picture in a page (anchor in paragraph)
insert under the picture table of contents in the same page
close file
open file
the table of contents are in two pages
update table of contents
table of contents returns on a single page
Comment 1 Terrence Enger 2015-10-02 00:24:33 UTC
Thank you, delbouys, for taking the time to help us improve
LibreOffice.

Can you attach the resaved file showing the T.O.C. spread onto two
pages?  This will help us to see just what changed between the two
versions of the file.  When you have done this, please set the bug
status back to UNCONFIRMED.

FWIW, I do not see the reported problem either on Linux with daily
dbgutil version 2015-10-01 or on Windows Vista 32-bit with daily build
from 2015-08-13.  My test consisted of ...

(1) Open the attachment
(2) Save as /tmp/gimp_resave.odt
(3) Close Writer
(4) Open gimp_resave.odt.
(5) Observe result.

Thanks,
Terry.
Comment 2 Yvan Rose 2015-11-15 21:17:52 UTC
Created attachment 120564 [details]
Behaviours with TOC visible upon opening document
Comment 3 Yvan Rose 2015-11-15 21:22:31 UTC
I just attached another example. Similar to the first one, this seems to occur when the TOC is preceded by a picture on the same page.

Also, in the document I just attached, the font of the TOC gets reset to Times New Roman each time I update it, even though my character style (for Content1) is properly set to Arial.
Comment 4 Buovjaga 2016-07-28 12:21:51 UTC
*** Bug 101028 has been marked as a duplicate of this bug. ***
Comment 5 Buovjaga 2016-07-28 12:22:38 UTC
(In reply to Yvan Rose from comment #3)
> I just attached another example. Similar to the first one, this seems to
> occur when the TOC is preceded by a picture on the same page.

attachment 126441 [details] has the same thing, picture before TOC.
Comment 6 QA Administrators 2018-01-24 03:24:26 UTC Comment hidden (obsolete)
Comment 7 rosgnilk 2018-01-24 17:25:59 UTC
with LO 5.1.6.2 and Ubuntu 16.04 the problem is gone. Because my system works fine at the moment and I probably have to update to Ubuntu 18.04 in April I don't want to mess with my LO installation therefore I don't test with the neuest version of LO.

Thanks, K