Closed
Bug 349882
Opened 19 years ago
Closed 19 years ago
No way to download dictionaries if no dictionaries are installed
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
FIXED
Firefox 2
People
(Reporter: brettw, Assigned: brettw)
Details
(Keywords: fixed1.8.1, relnote)
Attachments
(1 file, 1 obsolete file)
|
7.80 KB,
patch
|
bugs
:
review+
beltzner
:
approval1.8.1+
|
Details | Diff | Splinter Review |
The only way to download dictionaries currently (without knowing the link) is through the context menu in text fields. When there is no dictionary installed, there is no spellcheck menu so there is no link to download dictionaries.
It kind of sucks to display the spellcheck menu on every textarea when there is no way we can spellcheck. I suggest having a button in the pref panel next to the spellcheck option that brings up the same thing that the context menu does as well. But I'm not sure this would work because it needs to bring up a web page, but we can't because the pref panel is open. Beltzner, any ideas?
| Assignee | ||
Updated•19 years ago
|
Flags: blocking-firefox2?
Target Milestone: --- → Firefox 2 beta2
Comment 1•19 years ago
|
||
I think a good solution would be:
If a textarea would otherwise be spellcheckable but we have no dictionaries installed, then show the normal spellcheck menus on the context menu, but with all options removed except the ones to download dictionaries. In other words, eliminate the useless options in the menu (like enabling spellchecking), but not everything.
I think whether we also provide somewhere to "get dictionaries" besides the context menu is a separate question, and one equally applicable to en-US. Maybe we want somewhere in add-ons or prefs to get dictionaries regardless of what's installed. That seems like a worthwhile separate bug.
Comment 2•19 years ago
|
||
(In reply to comment #0)
> I suggest having a button in the pref panel next to
> the spellcheck option that brings up the same thing that the context menu does
> as well.
I think that's the best place for it, yes. At least, that's where I was looking for it (when beltzner told me to look for dictionaries). Things which are related (such as the spellchecker option and dictionaries) should be grouped together.
Comment 3•19 years ago
|
||
--> blocking Firefox 2, pretty sure we can do this without string changes
Flags: blocking-firefox2? → blocking-firefox2+
Keywords: relnote
Target Milestone: Firefox 2 beta2 → Firefox 2
| Assignee | ||
Comment 4•19 years ago
|
||
Attachment #235117 -
Flags: review?(bugs)
Comment 5•19 years ago
|
||
Comment on attachment 235117 [details] [diff] [review]
Patch (apply in browser/base/content)
>@@ -4741,16 +4753,17 @@ nsContextMenu.prototype = {
> this.onKeywordField = false;
> this.onImage = false;
> this.onLoadedImage = false;
> this.onMetaDataItem = false;
> this.onMathML = false;
> this.inFrame = false;
> this.hasBGImage = false;
> this.isDesignMode = true;
>+ this.possibleSpellChecking - true;
- true; ?
typo..
otherwise looks ok. Fix the typo, retest and attach a new patch.
| Assignee | ||
Comment 6•19 years ago
|
||
This time I tested it on designmode also.
Attachment #235117 -
Attachment is obsolete: true
Attachment #235119 -
Flags: review?(bugs)
Attachment #235117 -
Flags: review?(bugs)
Comment 7•19 years ago
|
||
Attachment #235119 -
Flags: review?(bugs) → review+
Comment 8•19 years ago
|
||
If I'm reading this patch right, and I like to think that I am, it's suggesting that we simply add a "Add Dictionaries..." item to the bottom of the shortcut menu for text areas when no dictionaries are available. Which is the right thing to do.
Brett, after a quick bake and test cycle on trunk, please nominate this for 181. Thanks.
Flags: blocking-firefox2+ → blocking-firefox2?
Target Milestone: Firefox 2 → Firefox 2 beta2
Comment 9•19 years ago
|
||
(ugh, ze clobber due to reload-not-picking-up-the-changes-screwiness)
Flags: blocking-firefox2? → blocking-firefox2+
Target Milestone: Firefox 2 beta2 → Firefox 2
| Assignee | ||
Comment 10•19 years ago
|
||
Beltzner: your explanation is correct.
Fixed on trunk, leaving open for branch.
Comment 11•19 years ago
|
||
Note that I've also filed bug 349945 to try and mitigate the god-awful UE of not having dictionaries shipped with some locales (see http://wiki.mozilla.org/L10n:Dictionaries for the current licensing status)
Comment 12•19 years ago
|
||
Brett, if you close this bug as FIXED once this is on branch, it's probably worth filing a followup bug for comment 0.
| Assignee | ||
Updated•19 years ago
|
Attachment #235119 -
Flags: approval1.8.1?
| Assignee | ||
Comment 13•19 years ago
|
||
(In reply to comment #12)
> Brett, if you close this bug as FIXED once this is on branch, it's probably
> worth filing a followup bug for comment 0.
I filed bug 350026.
Comment 14•19 years ago
|
||
Comment on attachment 235119 [details] [diff] [review]
Fixed patch
a=beltzner on behalf of drivers for the MOZILLA_1_8_BRANCH
Attachment #235119 -
Flags: approval1.8.1? → approval1.8.1+
| Assignee | ||
Comment 15•19 years ago
|
||
Fixed on 1.8.1 branch.
You need to log in
before you can comment on or make changes to this bug.
Description
•