Bug 142064 - blank space added randomly when updating index
Summary: blank space added randomly when updating index
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-03 19:04 UTC by mango wodzak
Modified: 2021-07-17 00:51 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
cannot update TOC without adding pages. (524.55 KB, application/vnd.oasis.opendocument.text)
2021-05-03 19:09 UTC, mango wodzak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mango wodzak 2021-05-03 19:04:09 UTC
Description:
I have a 390 page document. When I update the index -T.O.C. the number of pages increases. Not always by the same amount, sometimes 402 pages, sometimes 404..

What happens within the document is that random paragraphs in the middle of a page, are moved to the beginning of a new page. thus the number of pages in the doc increases.

This is very frustrating as I can no longer get my table of contents to match the actual page numbers of chapters and headings.

Steps to Reproduce:
1. My .odt file is 390 pages.
2. I go to the T.O.C. right click, and press "update index"


Actual Results:
After updating the T.O.C, the .odt file becomes 400+ pages with some paragraphs moved to the top of a new page.

With one document I have, this happens every single time I try to update the T.O.C.. 

IT DOES NOT HAPPEN ALWAYS WITH EVERY DOCUMENT, BUT SEEMS TO BE RELATED TO FRAMES PRESENT WITHIN THE DOCUMENT..

Expected Results:
I Expect for the TOC to be updated, and for the number of pages to stay at 390 and not increase.


Reproducible: Sometimes


User Profile Reset: No



Additional Info:
Version: 7.1.2.2 (x64) / LibreOffice Community
Build ID: 8a45595d069ef5570103caea1b71cc9d82b2aae4
CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: en-AU (en_AU); UI: en-GB
Calc: threaded
Comment 1 mango wodzak 2021-05-03 19:09:14 UTC
Created attachment 171618 [details]
cannot update TOC without adding pages.

i'm unable to update the toc in this doc without causing extra pages to be added and upsetting the format of the book..
Comment 2 Aron Budea 2021-07-16 23:05:55 UTC
This seems to be fine in LO 7.1.4.2, please retest with a more recent version.
Comment 3 mango wodzak 2021-07-17 00:51:55 UTC
Thanks Aron.. 

OK.. I just tried opening it with 7.1.4.2
I clicked update index, and the number of pages remained steady at 390.. as it should..

However.. when i cleanly open the attached file, it shows there:

155604 words
913163 characters..

then after I hit "update index", the count changes to:

23588 words
134055 characters..

but the page count stays at 390..

something glitchy going on there..