Issue 92308 - Writer crashes when edting a TOC which is changable
Summary: Writer crashes when edting a TOC which is changable
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 2.4.1
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: crash
Depends on:
Blocks: 84291
  Show dependency tree
Reported: 2008-07-31 07:13 UTC by
Modified: 2013-08-07 14:44 UTC (History)
3 users (show)

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


Note You need to log in before you can comment on or make changes to this issue.
Description 2008-07-31 07:13:37 UTC
1.Create a new writer document;
2.Input some words and select random heading(for example Heading 1) at "Apply 
Style" dialog or "Styles and Formatting" dialog;
3.The cursor locates in the back of all the words, click "Insert-Indexes and 
Tables-Indexes and Tables" ;pop up "Insert Index/Table" dialog;
4.Cancel the mark at "Protected against manual changes" and click "OK";
5.Press "Ctrl+A",select all the document;
6.Right click,and click "Edit Index/Table" ,and click "OK".
Writer crashes.
Comment 1 michael.ruess 2008-07-31 07:37:43 UTC
Reassigned to ES.
Comment 2 eric.savary 2008-08-01 13:54:52 UTC
@AMA: to complete the description...
The document must look like this:
<- no pragraph after toc

Only then the TOC shows its context menu when the whole doc content is selected
Comment 3 andreas.martens 2009-01-19 10:34:07 UTC
Due to our workload and resources (development as well as QA) I've to retarget
this issue to OOo3.2.
Comment 4 ahmad_rafiq 2009-03-31 08:14:39 UTC
- I can reproduce the bug under
  - Ubuntu 8.10 with OOo2.4.1 and OOO300m15(Build:9397)
  - Windows Vista with OOO300m15(Build:9397)
  - For Red Hat Enterprise Linux 5.3 it simply hangs there.
- Here are the steps I followed
  - Start OpenOffice
  - Start a new text document
  - Type anything
  - Press F11 --> a pop-up menu for "Styles and Formatting" would appear.
  - Choose any formatting options, i.e. Heading 1, by double clicking on it.
  - Close the pop-up menu
  - Click on 'insert' from the menu bar.
  - Press 'x' or choose 'Indexes and Tables' from the drop down menu
  - Press 'i' or choose 'Insert Indexs /Tables' from the cascading menu
    --> A pop-up menu for "Insert Index/Table" will appear
  - uncheck the box for "Protected against manual changes"
  - Click on ok.
  - Press Crtl-A to select everything
  - Right click on the selection and choose 'Edit Index/Table' from the drop
down menu
     --> A pop-up menu for "Insert Index/Table" will appear
  - Click on OK.
  - Writer will either crash or hang at this point.

- Work-Around
  - to work-around this bug, simply type something after the Table of Content
and then try to edit the TOC. We can then delete this text. Obviously We need to
type something after the Table Of Content.
  - or simply remove any text before the TOC. Then edit the TOC. After then we
can add any text needed before the TOC.   
  - I tested these two cases and they worked ok with me.