Open Bug 1696152 Opened 4 years ago Updated 2 years ago

Status bar language display not automatically shown after installing the second dictionary/language

Categories

(Thunderbird :: Message Compose Window, defect)

Thunderbird 88
defect

Tracking

(Not tracked)

People

(Reporter: thomas8, Unassigned)

References

Details

(Keywords: ux-discovery)

For installs with only one language, status bar language display/button is hidden.
After installing second language, it should show immediately (just a tiny nit).

STR

  1. Default install with one language (en-US)
  2. Compose, add another language (DE) from Spellcheck dialog
  3. Observe status bar, right corner, expecting language button to appear as you now have a choice between two languages

Actual

  • status bar language display/button not immediately shown (only shown after selecting another language from Spelling button)

Expected

  • show status bar language display/button immediately after installing new language

Implementation:

  • should be one-line call after adding dictionary to refresh the status bar button visibility

(88.0a1 (2021-03-02) (64-bit))

Keywords: ux-discovery
See Also: → 1280096

Sadly this is slightly more complicated than a "one line call" after adding a dictionary. The issue here is that there's no infrastructure to get notified when the hunspell dictionary has been initialized. We could either add another TB specific notification to m-c code, similar to "spellcheck-dictionary-remove" or try and piggy back off of the add-on manager and hope that JS is slow enough that the spellchecker has the dictionary by the time we try to update our UI. Once there's a reliable event for MsgComposeCommands.js to listen to, all that would have to happen is to one-line call updateLanguageInStatusBar().

You need to log in before you can comment on or make changes to this bug.