Status bar language display not automatically shown after installing the second dictionary/language
Categories
(Thunderbird :: Message Compose Window, 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
- Default install with one language (en-US)
- Compose, add another language (DE) from Spellcheck dialog
- 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))
Reporter | ||
Updated•4 years ago
|
Comment 1•3 years ago
|
||
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()
.
Updated•2 years ago
|
Description
•