Issue 64146

Summary: Spellcheck Undo does not undo
Product: General Reporter: nostabo <nostabo>
Component: spell checkingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, steve.m.frank
Version: 3.3.0 or older (OOo)Keywords: oooqa
Target Milestone: ---   
Hardware: PC   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Description Flags
Simple example file illustrating the issue in question none

Description nostabo 2006-04-09 06:59:42 UTC
The spellcheck feature does not Undo under Calc. After accepting a suggested
change and moving to another alleged spelling error, the Undo becomes active as
it should. When you click the Undo button the highlighted (red) text in the "Not
in dictionary" text box loses its highlight, but the previous change by the
Spellcheck is not undone.
Comment 1 atdsm 2006-11-22 20:43:25 UTC
Confirmed - Windows XP, SP2 w/ OOo 2.0.4.

Let me clarify exactly what is occurring... the problem occurs with the full
spellcheck ("Tools" -> "Spellcheck"), not with the inline spellcheck. Also, the
"Undo" button in question is the "Undo" button in the spellcheck dialog, not the
regular undo arrows.

Steps to reproduce:
1) Open the document CalcSpellcheckExample (which I will attach). This document
has two misspellings (EN-US)
2) Select cell "A1"
3) Run spellcheck from "Tools" -> "Spellcheck"
4a) The first misspelling to be discovered is "Sunnday." Click "change" to
correct it to "Sunday"
4b) The second misspelling, "Sunnny", comes up as the spellcheck continues
4c) Notice the "Undo" button in the spellcheck dialog becomes active after
hitting change.
5a) Click "Undo" in the spellcheck dialog.
5b) Notice that "Sunnny" in the "Not in dictionary" box changes from red bold to
regular black text.
5c) But the correction from "Sunnday" to "Sunday" is not undone.
6) Close spellchecker. Notice that the correction from "Sunnday" to "Sunday" is
still not undone.

My guess is the array pointer is one off? But I don't know how the code is
written, so I'll leave that to the devs.

*Changing status to NEW
*Setting oooqa keyword
Comment 2 atdsm 2006-11-22 20:44:36 UTC
Created attachment 40842 [details]
Simple example file illustrating the issue in question
Comment 3 atdsm 2006-11-22 20:46:56 UTC
Does the same in Writer's spellcheck dialog. I would assume it's the same across
all different components. Modified the summary to read simply "Spellcheck Undo
does not undo"