Closed Bug 1210172 Opened 9 years ago Closed 9 years ago

SM cannot maintain the previous spelling choice

Categories

(SeaMonkey :: MailNews: Composition, defect)

SeaMonkey 2.38 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: tit_pom, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:41.0) Gecko/20100101 Firefox/41.0 SeaMonkey/2.38
Build ID: 20150923195647

Steps to reproduce:

Using English SM with added French dictionary permit me to spell check in french.
When I switch the spelling (by clicking on the big spell button then I choose French-Classic) to the French Spelling then I close the little pop-up - So I can spell-check in french. So far, so good. Just after sending the checked mail I click Compose to create another mail.


Actual results:

Then when i click on the big spell button, English language is positioned.


Expected results:

As before when I was in SM 2.32 - Then when i click on the big spell button, the previously used language was positioned.
I know that going to "Edit" - "Preferences" - "Appearance" - "Spelling" that i can change for "General"-"language" from English to French-classic.
This is not a solution, because at a new mail composition then in this case it will be *always" the spell in French instead of the spell in English. I want that SM do as before in 2.32 - which is that the spell language is positioned at what it was used before.
Sorry, this behaviour has changed. New e-mail will always be spelled using the dictionary nominated in the preferences, not in the last dictionary used (see bug 1163395). Switching the language for a message does not change the preference. This allows to compose two messages in different languages at the same time.

For people using more than one dictionary, the "last" one is somewhat random and not very useful.

Typically you would set the preference to the language you use most and then switch to another language when required.

(There is also an add-on for Thunderbird (which may or may not work for SM), which can set the language based on the recipient. The language setting is stored in the address book.)
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
I just agree that the default is used when i Start SM - not when I write another mail ..... My last choice is gone !
(In reply to Jorg K (GMT+2) from comment #2)
> (There is also an add-on for Thunderbird (which may or may not work for SM),
> which can set the language based on the recipient. The language setting is
> stored in the address book.)

If it doesn't support SeaMonkey out of the box, try converting it using the Extension Converter for SeaMonkey, http://addonconverter.fotokraina.com/

You may want to test it in a "test" profile first, since while the author of the converter page has tried to detect all the differences between Firefox and Thunderbird OT1H, and SeaMonkey OTOH, there is no guarantee that the modified extension will always work.

Jorg: Do you know the URL (or at least the name) of that extension?
Component: General → MailNews: Composition
Flags: needinfo?(mozilla)
Something else to keep in mind:
The preference "spellckecker.dictionary" was used to remember the last selected dictionary in Firefox, Thunderbird and SeaMonkey. Thunderbird and the mail part of SM have now decoupled the composition language from the preference. However, Firefox and the browser part of SM still change the preference when the user selects a different spelling language for a text input field on a website. For Firefox this is not a problem. In SM however, the preference used to determine the mail composition language can be changed in the browser part by choosing a different language in a right-click (context) menu. This is not an ideal situation. (This happens in TB as well, when the language is changed in a chat session.)
Thanks for the work. However I will accept and adopt the new behavior. Finally, most of the time I write in french so i put "fr-classic" into "Edit" - "Preferences" - "Appearance" - "Spelling" - "General" - "language"
I mostly write in English, and for all other regular recipients I use my add-on and have the language registered in the address book.

As I said in comment #6: Watch out when selecting a dictionary in the browser, that will (sadly) change the preference.
Thanks of the info, I will take care of it.
This change in behaviour is more troublesome in SM than in TB because changing the language in the browser's input boxes changes spellchecker.dictionary pref while the same is not happening when changing language in the mail compose windows. When someone uses both then eventually one has to go to the settings every now and then and set the preferred language again and again. Also, there are reports of spellchecker.dictionary being silently changed in some other circumstances but we don't know which.

Just for your information I created an extension to bring back the previous spelling choice for mail, it works both in SM and TB:

https://addons.mozilla.org/en-US/addon/last-dictionary-for-mail/
You need to log in before you can comment on or make changes to this bug.