Open Bug 722842 Opened 12 years ago Updated 11 years ago

Spell Check checkmark is in opposite state

Categories

(SeaMonkey :: Composer, defect)

SeaMonkey 2.6 Branch
x86
Windows XP
defect
Not set
minor

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: nphipps, Assigned: iannbugzilla, NeedInfo)

Details

Attachments

(1 file)

When spell-checking is active the menu item is unchecked.
When inactive, the menu item is checked.
Heh. Confirmed.

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0a2) Gecko/20120131 Firefox/11.0a2 SeaMonkey/2.8a2
DUP: Bug 296299 - 'Options > Spellcheck As You Type' mark looks active, while its entry is disabled
therube: Ancient bugs are unlikely to be the same cause.
CC the usual suspects.
As far as I can tell the logic has not changed, but that logic does assume spell checking as you type is off as default. Has something changed to make it on as default?
This patch:
* makes sure the checkbox reflects InlineSpellCheckerUI.enabled

I did dig around but I could not see what has landed that made it behave differently.
Assignee: nobody → iann_bugzilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #593643 - Flags: review?(neil)
(In reply to Ian Neal from comment #5)
> I did dig around but I could not see what has landed that made it behave
> differently.
I dug around a bit harder and it's bug 434998 which makes the document think that design mode is on and therefore spellchecking should be on by default.

We didn't want to turn spellchecking on by default before because it would proceed to spellcheck the entire document which could take some time. Ehsan?
(In reply to neil@parkwaycc.co.uk from comment #6)

> We didn't want to turn spellchecking on by default before because it would
> proceed to spellcheck the entire document which could take some time. Ehsan?

Spellchecking on by default raises a big issue: switching back from source
to wysiwyg view triggers a spellcheck of the whole document, possibly taking
too much time seen from a user's perspective. That's why Nvu had an dismissible
alert ("don't show this alert again") warning the user to disable spellcheck
through preferences if switch back to normal view was too slow.
The editor turns on spell checking as it's being initialized as the default behavior.  It just happened that bug 434998 fixed a bug which SeaMonkey was relying on.  But turning spell checking off for xul:editor is totally supported, and if Composer wants that behavior, it should turn it off explicitly.
Comment on attachment 593643 [details] [diff] [review]
Correct checkbox status

Well, I think I would prefer to stick with disabling spellcheck by default, although we should do it with InlineSpellCheckerUI rather than mucking around with editor directly.
Attachment #593643 - Flags: review?(neil)
Assignment still valid?
(In reply to Phoenix from comment #11)
> Assignment still valid?
Ping IanN and NeilAway
Flags: needinfo?(neil)
Flags: needinfo?(iann_bugzilla)
Flags: needinfo?(neil)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: