In-built English Speller Not Working Properly When Sentence not Terminated with a Space Character
Categories
(Core :: Spelling checker, enhancement, P3)
Tracking
()
People
(Reporter: Babelfish0101, Assigned: aaiunusov)
References
(Depends on 1 open bug)
Details
(Whiteboard: dom-lws-bugdash-triage)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0
Steps to reproduce:
Using Firefox 70.0.1 English-GB version
I was typing text into a textbox to make a comment at a forum. I made a mistake in that I typed one sentence and forgot to add a space character before starting the next sentence. The Firefox in-built speller failed to flag the mistake as an error.
Actual results:
I tried some test sentences with the error being included as indicated above. For all of these sentences the speller failed to flag the error (i.e. the first sentence was not terminated with a space character before starting the new sentence following the first one).
This is one sentence.And with a new sentence following though missing a space character at the start of the new sentence.
This is one sentence!And with a new sentence following though missing a space character at the start of the new sentence.
This is one sentence?And with a new sentence following though missing a space character at the start of the new sentence.
"This is one sentence."And with a new sentence following though missing a space character at the start of the new sentence.
"This is one sentence!"And with a new sentence following though missing a space character at the start of the new sentence.
"This is one sentence?"And with a new sentence following though missing a space character at the start of the new sentence.
'This is one sentence.'And with a new sentence following though missing a space character at the start of the new sentence.
'This is one sentence!'And with a new sentence following though missing a space character at the start of the new sentence.
'This is one sentence?'And with a new sentence following though missing a space character at the start of the new sentence.
I also tried the following sentence with the error that there is no comma following the word 'sentence' and the start of the new word 'and':
This is a single sentence,and you can see the same kind of issue happening here. The speller doesn't flag-up the missing space character after the comma.
In all it looks to me like the speller isn't flagging up missing space characters between words when the word is terminated by a punctuation mark (and then a missing space).
Expected results:
I would have expected the speller to flag all of these errors. If, for example, I put the above sentences into Microsoft Word then Word does flag all these errors.
P.S. I'm thinking that maybe this bug is in some way related to a fairly recent bug that I previously reported: https://bugzilla.mozilla.org/show_bug.cgi?id=1565919
Maybe fixing that bug caused this new bug I'm reporting now.
| Reporter | ||
Comment 1•7 years ago
|
||
P.P.S. Sorry about the formatting in the report -- now idea how I managed to do that and can't see any way to fix.
Comment 2•7 years ago
|
||
(In reply to Babelfish0101 from comment #0)
I'm thinking that maybe this bug is in some way related to a fairly recent bug that I previously reported: https://bugzilla.mozilla.org/show_bug.cgi?id=1565919
NI :m_kato
(In reply to Babelfish0101 from comment #1)
P.P.S. Sorry about the formatting in the report -- now idea how I managed to do that and can't see any way to fix.
Refer to Markdown styling. There should be an Edit button in the top right corner of the comment; if it's missing, it may be reserved for those with editbugs privilege.
Comment 3•7 years ago
|
||
Could you add exactly reproduce step and screenshot when this occurs?
| Reporter | ||
Comment 4•7 years ago
|
||
(In reply to Makoto Kato [:m_kato] from comment #3)
Could you add exactly reproduce step and screenshot when this occurs?
Steps to reproduce in Firefox:
(1) Go to mozillaZine Forums, login and then select to Post a New Topic.
(2) Copy then paste my above example sentences (with deliberate sentence errors) into the New Topic text-box.
(3) Firefox does not flag the errors as per the attached screenshot.
(4) I also tried manually typing in the sentence errors in Firefox but got the same result -- errors do not get flagged.
Note that for comparison I have also included a screenshot of what happens with this in Microsoft Internet Explorer 11 (old version, that is installed to my Win7 system). I also tested this with the latest release of Opera Portable browser. Opera acts in the same manner as Firefox, the errors do not get flagged.
| Reporter | ||
Comment 5•7 years ago
|
||
| Reporter | ||
Comment 6•7 years ago
|
||
| Reporter | ||
Comment 7•7 years ago
|
||
(In reply to Gingerbread Man from comment #2)
(In reply to Babelfish0101 from comment #1)
P.P.S. Sorry about the formatting in the report -- now idea how I managed to do that and can't see any way to fix.
Refer to Markdown styling. There should be an Edit button in the top right corner of the comment; if it's missing, it may be reserved for those with editbugs privilege.
I have no edit button at the top of the report, so can't try to fix. Thanks anyway.
| Reporter | ||
Comment 8•7 years ago
|
||
I just tested this kind of error with the following sentences (with deliberate errors):
This is a sentence with a comma,and words following.
This is a sentence with a semi-colon;and words following.
This is a sentence with a colon:and words following.
Again the errors do not get flagged.
I then started trying other combinations of deliberate mistakes, using brackets for example, to see what worked correctly and what didn't. The results were varied. So it would seem a lot of testing of a wide variety of combinations of 'mistakes' are really necessary to chase down this bug. (If it is a bug.)
Comment 9•6 years ago
|
||
The priority flag is not set for this bug.
:smaug, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•6 years ago
|
Updated•4 years ago
|
| Assignee | ||
Comment 11•2 years ago
|
||
it seems that Spellchecker does not care about punctuation at all
So, this sounds like an enhancement
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Description
•