Closed Bug 368867 Opened 19 years ago Closed 19 years ago

spell check results from previous message show up (cached compose window related?)

Categories

(Thunderbird :: Message Compose Window, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: moco, Assigned: mscott)

Details

(Keywords: regression, verified1.8.1.2)

Attachments

(1 file)

spell check results from previous message show up (cached compose window related?) I'm using version 2 beta 2 (20070131), so I think this is a recent regression (caused by the spell checking of the subject area?) steps to reproduce: 1) launch tbird 2) compose a new message, in the body type "mitai foo" 3) right click on mitai, get the list of suggestions 4) close the window, don't save as draft 5) compose a new message, type "mitai foo" right click on mitai, you'll get double the suggestions right click on foo, you'll get the mitai suggestions on top of the foo suggestions.
I can easily reproduce this. May be fall out from converting to InlineSpellCheckUI. It does seem to be related to the compose window.
Status: NEW → ASSIGNED
Flags: blocking-thunderbird2+
I think we just need to call InlineSpellCheckerUI.uninit in MsgCompose.js when closing a compose window (even when it is being recycled). Just gotta find the correct spot to do this.
Attached patch the fixSplinter Review
In the OnClose method for a recycled compose window, call InlineSpellCheckerUI.clearSuggestionsFromMenu to clear any misspelling suggestions that are in the editor context menu.
Attachment #253568 - Flags: superreview?(bienvenu)
cc'ing Neil, I suspect he'll want to do something similar for seamonkey's MsgComposeCommands.js
Attachment #253568 - Flags: superreview?(bienvenu) → superreview+
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8.1.2
Resolution: --- → FIXED
Thanks, the only difference was that I didn't check in any ^M characters ;-)
bleh, sometimes the cross commit tool does that to me. I fixed the ^M characters. Thanks for noticing that.
verified with 2.0.0.0 rc2 on Windows XP
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: