Closed Bug 1418629 Opened 7 years ago Closed 5 years ago

Spellcheck marks lost for words containing apostrophes

Categories

(Core :: Spelling checker, defect, P3)

57 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox-esr52 --- unaffected
firefox-esr60 --- wontfix
firefox57 --- wontfix
firefox58 --- wontfix
firefox59 --- wontfix
firefox67 --- wontfix
firefox68 --- fixed

People

(Reporter: ben.s.kuhn, Assigned: m_kato)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20171112125346

Steps to reproduce:

1. Visit a page with a spellchecked text field, e.g. https://bugzilla.mozilla.org/enter_bug.cgi#h=dupes%7CFirefox
2. Focus the text field and type "doesn'"


Actual results:

The string "doesn" (without the final apostrophe) is underlined in red as if misspelled.


Expected results:

The string should not be underlined until I type a space or defocus the text field, as happens in Chrome or in Firefox with other incomplete words (e.g. "doesn" without the apostrophe).
Component: Untriaged → Spelling checker
Product: Firefox → Core
Last good revision: Otto Länd 6d3323e4e071
First bad revision: Otto Länd 307fd37d519d
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=6d3323e4e071&tochange=307fd37d519d

regressed by bug 1362858.
Blocks: 1362858
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(ehung)
Yes, it seems to be a side effect of my patch. Thanks for reporting this bug. I will look into it.
Assignee: nobody → ehung
Flags: needinfo?(ehung)
Priority: -- → P3
Keywords: regression
Evelyn, any update?

I noticed the following: Type this into a https://www-archive.mozilla.org/editor/midasdemo/ and notice some funny effects:
calll's chichen<enter>

As soon as you type the "c" of chicken, "calll's" loses it's underline. That happens here or BMO, too. On Midas, the underline returns when you hit enter, on BMO it doesn't.

Losing spellcheck underlines is a great inconvenience to people who want to correct spelling mistakes later.
Flags: needinfo?(jj.evelyn)
Confirmed regression in TB, working on 2017-06-13, not working on 2017-06-14.
Fixed for TB 60 ESR via backout:
https://hg.mozilla.org/releases/mozilla-esr60/rev/78c54e4a83e8807cdeaa96e22648d381eb51c8da on THUNDERBIRD_60_VERBRANCH
Backed out part of changeset eaf99ba3813a (bug 1362858, part 1, for causing bug 1418629) to build Thunderbird 60.2. a=jorgk
(In reply to Jorg K (GMT+2) from comment #4)
> Evelyn, any update?

She is no longer paid stuff and inactive.
Any plans to get this fixed by someone else then? The FF editor plus spell checker is used for entering text, for example on webmail sites, and it doesn't look so good that spellcheck marks just disappear :-( - As you saw, I backed this out so it wouldn't hit TB users who will be updated automatically to TB 60.2 soon. So far there wasn't an automated update from TB 52.

You can see by the backout that the problem can't be huge, some small logic error somewhere.
Assignee: jj.evelyn → nobody
Flags: needinfo?(jj.evelyn)
Flags: needinfo?(m_kato)
Keywords: regression
(In reply to Jorg K (GMT+2) from comment #8)
> Any plans to get this fixed by someone else then? The FF editor plus spell
> checker is used for entering text, for example on webmail sites, and it
> doesn't look so good that spellcheck marks just disappear :-( - As you saw,
> I backed this out so it wouldn't hit TB users who will be updated
> automatically to TB 60.2 soon. So far there wasn't an automated update from
> TB 52.

OK, I will look this.
Assignee: nobody → m_kato
Flags: needinfo?(m_kato)
Makoto-san, any news on this? We're already at mozilla66, so not much time to get this fixed in mozilla68 ESR.
Flags: needinfo?(m_kato)
WordSplitState::ClassifyCharacter shouldn't return CHAR_CLASS_SEPARATOR.  I need write a test.
Flags: needinfo?(m_kato)

Any update? We're coming to the end of mozilla67 and I'd really like to see this fixed for the next ESR.

Flags: needinfo?(m_kato)

Jim, how can we get this fixed? I'm contacting you as the triage owner. The 68 cycle is coming to and end in about a month, so if this doesn't get fixed, it may be broken through the 68 ESR cycle like it was broken during the entire ESR 60 cycle.

This is very visible for users using FF for webmail for example. Try it here: Type "Thiss's" and see the effect. When you type the apostrophe, the Thiss is underlined, when you type the "s" the underlining goes. Quite annoying really.

Flags: needinfo?(jmathies)
Summary: Firefox spuriously spellchecks partial words containing apostrophes → Spellcheck marks lost for words containing apostrophes

Thanks! :-)

Flags: needinfo?(jmathies)
Regressed by: 1362858

Any chance to get this finished before your PTO?

This seems to be regression by bug 1362858.

Actually, single quotation mark is always separator for spellchecker after
landing bug 1462858. When user tries to input "doesn't", "'" becomes separator
for spellchecker. Then "doesn" will be misspell word.

So we shouldn't mark single quotation mark as separator if user is inputting
word.

Pushed by m_kato@ga2.so-net.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/5822c9d23ff7
Single quotation mark shouldn't always separator. r=Ehsan
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68

https://hg.mozilla.org/releases/mozilla-esr68/rev/b62ef04e0947bf0d621cc87c2314ac3a4a660359 on THUNDERBIRD_68_VERBRANCH
Backed out changeset 5822c9d23ff7 (bug 1418629 for causing bug 1565919) to build Thunderbird 68.0. a=jorgk

Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: