Closed Bug 357467 Opened 18 years ago Closed 2 years ago

Spelling suggestions don't activate when anchor is at the beginning of a misspelled word

Categories

(Core :: Spelling checker, defect)

All
macOS
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: stuart.morgan+bugzilla, Unassigned)

References

Details

If the offset passed in to GetMispelledWord is for the position just before a misspelled word, spelling suggestions don't activate.  This is noticeable in Firefox if you click on the first half of the first letter of a misspelled word--unless the previous word is also misspelled, it which case it works--and is even more noticeable in Camino where it currently uses the actual caret position.  In the future Camino will likely pre-select the word, as is normal for OS X, meaning the anchor will always be at the beginning of the word.

Considering a position at the beginning of a range to be inside it for spellchecking seems like it would give a more consistent experience.
Summary: Spelling suggestions don't active when anchor is at the beginning of a misspelled word → Spelling suggestions don't activate when anchor is at the beginning of a misspelled word
Stuart do you see this in v2?
I don't know what you mean by "v2", but the latest Minefield exhibits the same symptoms (I'd have to make a custom build of Camino to check Camino, as we've long since hacked around it). Is there some reason to believe this would have been fixed?
Assignee: mscott → nobody
Still a bug. 

Testcase from Bug 385690: 

1. insert the phrase "ctrl-left + ctrl-right" (including quotes) into a text area. 
2. Right-click on the left and right 'c's. 
3. The region that brings up the suggestion dialog is different for each.
Severity: normal → minor

I cannot reproduce this on current Firefox or Thunderbird.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.