Issue 59386

Summary: Updating TOC in Web Layout view breaks end of document
Product: Writer Reporter: goa103 <goa>
Component: viewingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 2.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Document is OK
none
Document is OK (with added lines at the end)
none
Document broken after two TOC updates
none
Switch to Print Layout
none
Back to Web Layout the document is OK
none
Document splitted (with new section added at the end), I red highlighted the broken part none

Description goa103 2005-12-15 11:13:22 UTC
I write most my documents using the Web Layout view. And most of them have a TOC
at the beginning. When new sections are added to a document and that I update
its TOC, the end of the document is broken. Sometimes its end is cut, sometimes
it's splitted. The only solution I found to fix the document was to switch to
Print Layout view and back to Web Layout. During this process I can see OOo
recalculating the document height because the scrollbar is jumping around,
indicating that the new height is longer that the old one, before I updated the TOC.

I will attach a test document and some screenshots of the broken views I got.

To reproduce the bug you can just copy a section to the end and update the TOC,
it should break the document in one of the two ways I described, depending of
the length of the new section. Adding 2 lines I got a cut document, adding a
whole new section I got a splitted document.
Comment 1 goa103 2005-12-15 11:14:45 UTC
Created attachment 32440 [details]
Document is OK
Comment 2 goa103 2005-12-15 11:15:18 UTC
Created attachment 32441 [details]
Document is OK (with added lines at the end)
Comment 3 goa103 2005-12-15 11:16:08 UTC
Created attachment 32442 [details]
Document broken after two TOC updates
Comment 4 goa103 2005-12-15 11:16:47 UTC
Created attachment 32443 [details]
Switch to Print Layout
Comment 5 goa103 2005-12-15 11:17:34 UTC
Created attachment 32444 [details]
Back to Web Layout the document is OK
Comment 6 goa103 2005-12-15 11:18:55 UTC
Created attachment 32445 [details]
Document splitted (with new section added at the end), I red highlighted the broken part
Comment 7 michael.ruess 2005-12-15 11:55:13 UTC
Reassigned to ES.
Comment 8 eric.savary 2006-06-07 14:38:59 UTC
ES->OD: same problem in OOo 1.x
Comment 9 Marcus 2017-05-20 11:21:46 UTC
Reset assigne to the default "issues@openoffice.apache.org".