Issue 123598

Summary: Update TOC of particular .doc inserts white empty area with more than TOC height below TOC
Product: Writer Reporter: Edwin Sharp <elish>
Component: viewingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Minor    
Priority: P3 CC: issues, rainerbielefeld_ooo_qa, rb.henschel
Version: 3.3.0 or older (OOo)Keywords: ms_interoperability
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
See Also: https://issues.apache.org/ooo/show_bug.cgi?id=124451
Issue Type: DEFECT Latest Confirmation in: 4.1.0-dev
Developer Difficulty: ---
Attachments:
Description Flags
sample file from testlink Test Case ID AOOTest-182 none

Description Edwin Sharp 2013-10-31 18:19:10 UTC
Created attachment 81855 [details]
sample file from testlink Test Case ID AOOTest-182

1) open attachment
2) right click TOC - Update Index/Table

White space appears below TOC, undo disabled.

3) close document without saving.
4) reopen document
5) save as odt
6) close document
7) reopen document
8) right click TOC - Update Index/Table

TOC structure is ruined, undo disabled.

AOO410m1(Build:9750)  -  Rev. 1537113
Rev.1537113
Comment 1 Rainer Bielefeld 2014-03-18 05:55:34 UTC
Steps 3-6 for separate issue, 
<http://www.openoffice.org/qa/issue_handling/basic_rules.html#one_per_issue>!

For me the white space below TOC appears simply appears when I update it after opening when I do a TOC update.

Still Reproducible with server installation of "AOO 4.1.0-Beta – English UI / German locale - [AOO410m14(Build:9760)  -  Rev. 1577236 2014-03-15]" on German WIN7 Home Premium (64bit)", own separate user profile:

10. Open Document from AOO Start Center
11. Activate menu 'View -> Show Nonprinting characters
    > You see 2 empty paragraphs between TOC and "Screenshot in OpenOffice 1.1:"
12. On TOC: 'rightclick -> Update TOC'
    Bug: an approximately 10 text lines high white area shifts 2 blank paragraphs 
         from step 11 down
13. Click left from "Screenshot in OpenOffice 1.1:" -> <Enter>
    > Blank paragraph inserted, white area disappears

Additional Info:
----------------
(a) This is not a new effect, already visible in OOo 3.1.1, OOo 2.0.2
(b) No problem with OOo 1.1.5
(c) there are additional problems with TOC what might be related, I will 
    submit separate issues.
(d) Minor Issue due to simple workaround step 13
Comment 2 Rainer Bielefeld 2014-03-18 05:57:49 UTC
(e) I think it's more a rendering / vieiwng problem
(f) Also a problem with LibO 4.2
Comment 3 Regina Henschel 2014-03-18 21:31:08 UTC
The text is inside a section. Removing the section solves the problem here.