Closed Bug 1766816 Opened 3 years ago Closed 3 years ago

spell check reverts to default dictionary when window regains focus

Categories

(Thunderbird :: Message Compose Window, defect)

Thunderbird 100
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bugzilla.mozilla.org, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0

Steps to reproduce:

Prerequisites:

  • you need to have multiple dictionaries installed.

Steps:

  • open compose window
  • select other (non-default) dictionary
  • make compose windows lose focus and then regain focus

Actual results:

The default dictionary is now selected.

Expected results:

The manually selected dictionary should still be selected.

This happens in both Thunderbird 100.0b3 (64-bit) and b4.

Thank you for the solid description

I can't reproduce using Thunderbird 100.0b4 on Fedora 35 Workstation.

  • Installed the English (United Kingdom) dictionary
  • Opened a composition window and selected that dictionary
  • Added a To: address, Subject and some text
  • Minimized the composition window
  • Read some emails, created an event in calendar
  • Returned to the composition window and the English (United Kingdom) dictionary was still selected

I just created a new account and was able to reproduce the problem. Let me elaborate a bit, maybe I did something non-standard.

  • Create a new Thunderbird account (thunderbird --ProfileManager, Create Profile, fill in some bogus info).
  • Install Dutch dictionary (Tools, Add-ons and Themes, Extensions, search for Nederlands, + Add to Thunderbird).
  • Set default composition language to Dutch (Edit, Settings, Composition, Language).
  • Create message (ctrl+m).
  • Set message body language to English (right-click on message body, Languages, select English (United States).
  • Make compose window lose and regain focus (I use Awesome WM with focus on mouse, so I just move my mouse to the main Thunderbird window and then back to the compose window).
  • Check which language is selected (right-click on message body, Languages), now Dutch is selected again.

Note that I did not need to have a working email account or even type anything in any of the message fields.

When you do type some text in the message body that matches the selected dictionary, no words should be underlined by the spell checker. But the moment the window loses and regains focus, all words are underlined by the spell checker. That is how I discovered the problem.

I run Thunderbird beta from the Mozilla website on Debian Bookworm. I do not use the package from my distribution.

This will be fixed with bug 1766823

This is now working as expected on Daily.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.