Closed Bug 1718492 Opened 4 years ago Closed 4 years ago

"Spellcheck As You Type" gets disabled when saving composition as draft or template

Categories

(Thunderbird :: Message Compose Window, defect, P2)

Thunderbird 90

Tracking

(thunderbird_esr78 unaffected)

RESOLVED FIXED
91 Branch
Tracking Status
thunderbird_esr78 --- unaffected

People

(Reporter: press, Assigned: darktrojan)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_4_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.192 Safari/537.36

Steps to reproduce:

Case:
"Enable spellcheck as you type" is checked in Preferences
When creating a new message, the Options > Spellcheck As You Type menu is checked.
BUT once you Save email, it becomes unchecked and spelling is not checked.
If you enable the menu manually, it will be unchecked on next Save again.

Actual results:

please see above

Expected results:

please see above

Thanks Leo, sounds weird but it does happen exactly as described - not useful! This makes Spellcheck as you type a no-op. Should fix this asap.

Confirmed 91.0a1 (2021-06-28) (64-bit), Win10 (IMAP and POP).

Severity: -- → S3
Status: UNCONFIRMED → NEW
Component: Untriaged → Message Compose Window
Ever confirmed: true
Priority: -- → P2
Summary: "Spellcheck As You Type" gets disabled when Saving email → "Spellcheck As You Type" gets disabled when saving composition

Alice, could you kindly find the regression range?

Flags: needinfo?(alice0775)

(In reply to Alice0775 White from comment #3)

Regression window:
https://hg.mozilla.org/comm-central/pushloghtml?fromchange=d753b6013e03421b1c816e8bc810dc808e221b2b&tochange=3b1645fde19a14562753ff374fee690e3ca0ffde

Wow, thanks Alice, that's awesome!

So looks like we've jumped out of the frying pan into the fire:
Regressed by Bug 1695923 - Unchecked 'Spellcheck As You Type' turns back on when saving message as draft

Flags: needinfo?(geoff)
Regressed by: 1695923

Asking the spell checker if it should be enabled is unreliable as it's affected by too many things. Instead, let's just keep track of whether spell checking is enabled or not.

Assignee: nobody → geoff
Status: NEW → ASSIGNED

What a mess. The editor's got a spell checking flag, but it changes when things unrelated to spell checking happen. I've given up relying on it.

Flags: needinfo?(geoff)
Summary: "Spellcheck As You Type" gets disabled when saving composition → "Spellcheck As You Type" gets disabled when saving composition as draft or template
See Also: → 1710505

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/dd0e2b4c8c96
Remember the spell checking state independently of the checker itself. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
Regressions: 1720725
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: