Issue 97572

Summary: Crash when edit an editable "Index/Table" item after select the whole text
Product: Writer Reporter: doze_worm <zhuangyuelin>
Component: editingAssignee: michael.ruess
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P2 CC: amy2008, issues, kpalagin, npolyudova, ooo.redflag, peter.junge, ta_e_ret
Version: OOO300m9Keywords: crash, oooqa
Target Milestone: ---   
Hardware: Unknown   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 84292    

Description doze_worm 2008-12-25 06:37:53 UTC
[Steps]
1. Create a Write doc.
2. Type in some words, and set a sytle to these words. E.g. Press "F11" to open
"Style and Formating" Dialogbox, use "Heading 1".
3. Put the cursor at the end of these words, "Insert -> Indexes and Tables ->
Indexes and Tables...", unselect the "Protected against manual changes"
check-box and left-click OK button on the pop-up "Edit Index/Table" dialogbox.
4. Press "Ctrl + A" in keyboard, right-click -> "Edit Index/Table", then
left-click OK button on the pop-up "Edit Index/Table" dialogbox.

[Result]
Crash and quit

[Expectation]
Run normally
Comment 1 kpalagin 2008-12-26 13:06:12 UTC
Confirming with m37 on WinXP - as described.
Comment 2 amy2008 2008-12-31 02:34:24 UTC
CC
Comment 3 eric.savary 2009-01-12 15:05:08 UTC
I cannot reproduce it in OOOm13.
Following your description I have:

<some text as Heading1>
<a Table of Contents>

When I the press Ctrl+A, the selection goes from top of document until empty
paragraph after the TOC. Then I don't get "Edit index" in the context menu.
Comment 4 kpalagin 2009-01-12 21:13:16 UTC
You need to right-click TOC to get "Edit Index/Table" in context.
Comment 5 michael.ruess 2009-01-16 12:00:49 UTC
MRU->OS: as described, insert a Heading paragraph, insert a TOC, select whole
text, context menu -> "Edit index", click OK -> crash
Comment 6 Oliver Specht 2009-01-26 14:43:45 UTC
Fixed in cws os127 in
sw/source/ui/index/toxmgr.cxx
Comment 7 Oliver Specht 2009-03-19 13:30:17 UTC
Reassigned for verification
Comment 8 michael.ruess 2009-04-23 15:10:28 UTC
Verified in CWS os127.
Comment 9 nadejda 2009-05-01 08:34:21 UTC
Verified in OOo-dev 3.2.0 DEV300m44 (PC, Windows XP).
No crash.
Comment 10 kpalagin 2009-05-02 04:34:11 UTC
Closing as per Nadejda.

Nadejda,
thanks!