Closed
Bug 340807
Opened 19 years ago
Closed 19 years ago
My dictionary disappeared, and now Firefox thinks everything is misspelled
Categories
(Core :: Spelling checker, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: mark)
References
Details
Attachments
(2 files)
|
14.80 KB,
image/png
|
Details | |
|
810 bytes,
patch
|
mikepinkerton
:
review+
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060607 Minefield/3.0a1
My dictionary disappeared, and now Firefox thinks everything is misspelled!
| Reporter | ||
Comment 1•19 years ago
|
||
Comment 2•19 years ago
|
||
Seems likely to be from bug 151040
Comment 3•19 years ago
|
||
Works in 2006060306, fails in 2006060406, seems quite likely to be 151040.
Blocks: 151040
Comment 4•19 years ago
|
||
weird, as this is fine in camino and the spellcheck stuff just pretends to bundle itself exactly like the MySpell shared lib. is the firefox build system somehow different in this regard?
Comment 5•19 years ago
|
||
so i debugged this and it seems that the call to [NSSpellChecker sharedSpellChecker] is returning nil in firefox, where it works fine in camino.
This baffles me, as the library is linked against Cocoa and Foundation. Do we have to make firefox itself link against cocoa directly? Ideas?
| Assignee | ||
Comment 6•19 years ago
|
||
I'll look at this later today.
| Assignee | ||
Comment 7•19 years ago
|
||
This is caused by using Cocoa in a Carbon app. Some Cocoa code can't be used in a non-Cocoa app unless Cocoa is explicitly initialized first, by calling NSApplicationLoad(). Unfortunately, NSApplicationLoad() is not without side effects: when we call it on 10.3, we get browser content that doesn't draw, etc., etc. We only found out about this a couple of weeks ago.
Unfortunately, this pretty much renders the system dictionary integration unusable unless Cocoa widgets are in use.
| Assignee | ||
Comment 8•19 years ago
|
||
| Assignee | ||
Updated•19 years ago
|
Attachment #225477 -
Flags: review?(mikepinkerton)
| Reporter | ||
Comment 9•19 years ago
|
||
Will this mean that Mac users upgrading from Firefox 2 to Firefox 3 will lose their custom dictionaries?
Comment 10•19 years ago
|
||
AFAICS, no, it means spellchecking won't be available in Firefox 2 on mac - you'll have to use Camino or wait for Cocoafox to go live.
| Reporter | ||
Comment 11•19 years ago
|
||
The cross-platform spell-checker worked fine on Mac last week...
Comment 12•19 years ago
|
||
Comment on attachment 225477 [details] [diff] [review]
Only use osxspell with cocoa widgets
r=pink
this enables the XP spellchecker for carbon firefox (1.8branch) so it's back to normal.
drat. oh well, works for camino, and will for FF3 :D
Attachment #225477 -
Flags: review?(mikepinkerton) → review+
| Assignee | ||
Updated•19 years ago
|
Assignee: mscott → mark
| Assignee | ||
Comment 13•19 years ago
|
||
Fix is in.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 14•19 years ago
|
||
This check-in also fixed the older bug 340508.
You need to log in
before you can comment on or make changes to this bug.
Description
•