Issue 59386 - Updating TOC in Web Layout view breaks end of document
Summary: Updating TOC in Web Layout view breaks end of document
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: viewing (show other issues)
Version: OOo 2.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-15 11:13 UTC by goa103
Modified: 2017-05-20 11:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Document is OK (33.18 KB, image/png)
2005-12-15 11:14 UTC, goa103
no flags Details
Document is OK (with added lines at the end) (35.60 KB, image/png)
2005-12-15 11:15 UTC, goa103
no flags Details
Document broken after two TOC updates (32.82 KB, image/png)
2005-12-15 11:16 UTC, goa103
no flags Details
Switch to Print Layout (29.81 KB, image/png)
2005-12-15 11:16 UTC, goa103
no flags Details
Back to Web Layout the document is OK (32.56 KB, image/png)
2005-12-15 11:17 UTC, goa103
no flags Details
Document splitted (with new section added at the end), I red highlighted the broken part (35.57 KB, image/png)
2005-12-15 11:18 UTC, goa103
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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".