Closed Bug 350007 Opened 18 years ago Closed 14 years ago

Don't isnt suggested at the start of a line

Categories

(Core :: Spelling checker, defect)

1.8 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.3a5

People

(Reporter: azz0r, Unassigned)

References

()

Details

(Whiteboard: [fixed by bug 479334])

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) Gecko/20060821 Firefox/2.0b2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) Gecko/20060821 Firefox/2.0b2 Enter "dont" in the middle of a sentence and firefox recognizes its a spelling mistake and suggests "don't". Dont at the start of a sentence, like this one, is recognized as something spelt with but there is no "don't" suggestion when you right click. Reproducible: Always Steps to Reproduce: 1. Enter dont at the start of a sentence 2. Right click on the word 3. Note there is no "don't" Actual Results: 1. Enter dont at the start of a sentence 2. Right click on the word 3. Note there is no "don't" Expected Results: "don't" would be a suggestion like it is when dont is in the middle of a sentence.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1b2) Gecko/20060823 BonEcho/2.0b2 ID:2006082304 (en-US dictionary) To clarify the original report (because this seems to depend on capitalization rather than word position) "dont" will have "don't" as possible replacement, regardless of where you put it in a sentence "Dont" doesn't offer "Don't" anywhere. "do'nt" & "Do'nt" have the correct replacement.
Assignee: nobody → mscott
Status: UNCONFIRMED → NEW
Component: OS Integration → Spelling checker
Ever confirmed: true
OS: Windows XP → All
Product: Firefox → Core
QA Contact: os.integration → spelling-checker
Hardware: PC → All
Version: unspecified → 1.8 Branch
Why wouldn(In reply to comment #1) > Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1b2) Gecko/20060823 > BonEcho/2.0b2 ID:2006082304 (en-US dictionary) > > To clarify the original report (because this seems to depend on capitalization > rather than word position) > > "dont" will have "don't" as possible replacement, regardless of where you put > it in a sentence > > "Dont" doesn't offer "Don't" anywhere. > > "do'nt" & "Do'nt" have the correct replacement. > Why wouldn't dont with a capital suggest Don't. Still a bug right?
(In reply to comment #2) > Why wouldn't dont with a capital suggest Don't. Still a bug right? Yes.
Assignee: mscott → nobody
dont --> don't is fixed by Hunspell (Firefox 3, Thunderbird 3) "Dont" not suggesting "Don't" in the first 5 is a bug, but I don't know if there's a natural way to fix it in Hunspell. The problem is, Don, Dot, and Dons are all valid words. "Don't" comes up as suggestion #9. I think this is a relatively severe dictionary bug, so unless someone objects I will hack around this by adding "Don't" to the en-US dictionary. The only downside is a little untidiness.
Depends on: 479334
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by bug 479334]
Target Milestone: --- → mozilla1.9.3a5
Is bug 461898 (Teh -> The) fixed as well? A lot of Google Docs users complained about that specific case.
(In reply to comment #6) > Is bug 461898 (Teh -> The) fixed as well? A lot of Google Docs users complained > about that specific case. Yes, it is! Hopefully we'll get that fix ported to branch as well, so that it would be included in the next release of 3.5 and 3.6.
You need to log in before you can comment on or make changes to this bug.