Open Bug 1587689 Opened 7 years ago Updated 6 years ago

last word of text input field is not spellchecked

Categories

(Core :: Spelling checker, defect, P3)

71 Branch
defect

Tracking

()

People

(Reporter: info, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0

Steps to reproduce:

Type a misspelled word at the end of a text field with spellcheck="true" (e.g. I noticed this in Bugzilla's Summary field while entering a new bug), don't press [Space], and wait.

Similarly, type a misspelled word into a contenteditable paragraph or a textarea with spellcheck="true".

Actual results:

The last word you type in the text field is not spell checked, it doesn't get the red squiggle. I got similar results with contenteditable region and textarea.

Retrying this while filing this bug report I notice the spellcheck does kick in when you move the caret by clicking with the mouse (but not using the cursor keys) or click outside the field.

Expected results:

For what it's worth, chromium-browser shows the misspelled red squiggle under the last word you type into a text input field after a timeout (and seems to immediately removes the squiggle if you reposition the caret at the end of the last word). I think that's better behavior; I was really puzzled why Firefox's spell checker ignored the misspelled last word, even after I right-clicked on it.

This is with Firefox Nightly on Fedora 31 beta KDE spin.

Component: Untriaged → Spelling checker
Product: Firefox → Core

The priority flag is not set for this bug.
:smaug, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(bugs)

Ah, indeed, cursor keys don't trigger spellchecking on the last word.

Flags: needinfo?(bugs)
Priority: -- → P3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.