Issue 110688 - spellcheck: Change All button does not work correct
Summary: spellcheck: Change All button does not work correct
Alias: None
Product: Impress
Classification: Application
Component: editing (show other issues)
Version: DEV300m75
Hardware: All All
: P3 Trivial with 3 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2010-04-08 09:36 UTC by marc.neumann
Modified: 2017-05-20 11:11 UTC (History)
2 users (show)

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

bugdoc (9.62 KB, application/vnd.oasis.opendocument.presentation)
2010-04-08 09:37 UTC, marc.neumann
no flags Details
A testcase (8.22 KB, application/vnd.oasis.opendocument.text)
2010-07-05 18:44 UTC, lrn
no flags Details
Test case. NB: For internal testing purposes only. (375.00 KB, application/msword)
2011-06-04 12:29 UTC, rebecca_j_wood
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description marc.neumann 2010-04-08 09:36:00 UTC
0. you need an English locale
1. open the attached bugdoc
2. start spellcheck via TOOLS / SPELLCHECK
3. the first wrong word (Faild) is found.
4. click on the "Change All" button
5. Close the spellcheck dialog
==>> only the first word (Faild) was correct and not the other two. I expect
that all occurrence of the word Faild are corrected.
Comment 1 marc.neumann 2010-04-08 09:37:24 UTC
Created attachment 68817 [details]
Comment 2 lrn 2010-07-05 18:42:56 UTC
In recent versions the problem persists, although in different form:
1) Open the bugdoc2.odt (attached)
2) Start the spell checker (Tools->Spelling...)
3) Spell checker thinks that "Faild" is misspelled. Select "Failed" from the
suggestion list and press "Change All"
4) Spell checked thinks that "spellchk" is misspelled. Edit the phrase to change
"spellchk" to "spell check" and press "Change All"
5) Spell checker didn't pick up the edit as a correction to be applied with
"Change All" (which is not expected) and still thinks that "spellchk" in the
next sentence is misspelled. To get rid of it for now, select "spellchecker"
from suggestion list and press "Change All".
6) Spell checker changed this sentence and the next sentence automatically (as
expected), and now thinks that "Somethingiswrong" is misspelled.
7) Click into Writer window and correct "Somethingiswrong" into "Something is
8) Click back into Spelling window to switch focus into it (don't press any
buttons yet). Spell checker will replace "Ignore Once" button with "Resume"
button and will grey other widgets to indicate that spell checking was withheld
until the changes in the main Writer window are made
9) Press "Resume"
10) Spell checker will check the new text and find that "Fail spell" is not
misspelled anymore. Then it will go to the next sentence and pronounce "Faild"
to be misspelled (which is not expected)

This exposes two bugs:
1) There is no apparent way to tell spell checker to change misspelled words
into something that is not in "Suggestions" list, just editing the contents of
"Not in dictionary" and pressing "Change All" does not change next occurrences
of the misspelled words
2) Switching back into Writer window, changing the text, switching back into
Spelling window and resuming spell checking resets "Change All" list and the
spell checker will once again start detecting "Change All"'ed words as misspelled.

P.S. It is not really necessary to make any changes in the text to trigger spell
checking holdup, it is enough to click somewhere in the text to change the
cursor position from the end of "Somethingiswrong" line (where spell checker
puts it) to somewhere else - that is counted as a text change and puts spell
checking on hold.

P.P.S. It might have something to do with a feature that changing cursor
position and resuming spell checking will resume spell checking from the new
cursor position, possibly skipping some errors if the cursor is placed after them.
Comment 3 lrn 2010-07-05 18:44:30 UTC
Created attachment 70395 [details]
A testcase
Comment 4 lrn 2010-07-05 18:46:26 UTC
The observed spell checking holdup only worked for me in Writer. The spell
checker in Impress seems to be unaware of any changes made to the text being
checked in the main Impress window.

Using 3.2.1, by the way.
Comment 5 lrn 2010-07-05 18:48:40 UTC
Obviously, there should be "Something is wrong" written instead of "Fail spell"
in my previous comment.
Comment 6 rebecca_j_wood 2011-06-03 12:47:00 UTC
I also have this problem. I often have large documents with the same word incorrectly spelled (the same way) many times. When I use spell check and the word comes up, I hit "change all". The first instance changes, but I come across the same word further down the document and it is still spelled incorrectly (the same way). eg "discernible" is misspelled "discernable" throughout the document, but using change all only changes the first instance of "discernable".
Comment 7 rebecca_j_wood 2011-06-04 12:29:17 UTC
Created attachment 76584 [details]
Test case. NB: For internal testing purposes only.

This is a document I have been sent that I am editing. Using the spell check "change all" function when encountering words repeatedly misspelled in the same way (e.g. "discernible" spelled as "discernable" throughout the document), only changes the current instance and I encounter the next instance of the misspelled word later on in the same the spellcheck.
Comment 8 Marcus 2017-05-20 11:11:48 UTC
Reset assigne to the default "".