Support selecting multiple dictionaries in composition settings
Categories
(Thunderbird :: Preferences, enhancement)
Tracking
(thunderbird_esr102 fixed, thunderbird102+ affected)
People
(Reporter: freaktechnik, Assigned: mkmelin)
References
Details
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-esr102+
|
Details | Review |
|
5.09 KB,
image/png
|
Details |
Bug 1761221 added support in the composition UI to handle multiple active dictionaries. We currently only allow selecting a single dictionary in the composition settings, but we now have all the infrastructure to allow multiple dictionaries to be enabled by default.
The main blocker for this is the UI element, since we need some way to select multiple entries. Sadly the XUL menulist element only supports a single active selection.
The dictionary selector in the spell checker popup used the same element. There we replaced it with a list of all installed dictionaries with checkboxes.
| Reporter | ||
Updated•4 years ago
|
| Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/6cc4a31f4ed3
Support selecting multiple dictionaries in composition preferences. r=freaktechnik
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 3•3 years ago
|
||
Comment on attachment 9278778 [details]
Bug 1766604 - Support selecting multiple dictionaries in composition preferences. r=freaktechnik
[Approval Request Comment]
Regression caused by (bug #): part of new feature
User impact if declined: can't select more than one dictionary by default
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): we haven't noticed any problems on c-c. Not a huge risk, but there something unknown lurking.
Comment 4•3 years ago
|
||
Comment on attachment 9278778 [details]
Bug 1766604 - Support selecting multiple dictionaries in composition preferences. r=freaktechnik
[Triage Comment]
Approved for esr102. But I'm not sure how to interpret the following comment
(In reply to Magnus Melin [:mkmelin] from comment #3)
...
Risk to taking this patch (and alternatives if risky): ... there something unknown lurking.
Is this just speculation? Or is there something specific found during testing that we should be looking for?
| Assignee | ||
Comment 5•3 years ago
|
||
Nothing in particular I know about. Just an area that seems somewhat brittle + it's a new feature. It would only affect spell checking related things though.
| Reporter | ||
Comment 6•3 years ago
|
||
It does seem like a bug was found that essentially means selecting multiple dictionaries doesn't work correctly. See Bug 1775376 (also applies to selecting multiple dictionaries in preferences from what I can see)
Comment 7•3 years ago
|
||
| bugherder uplift | ||
Thunderbird 102.0:
https://hg.mozilla.org/releases/comm-esr102/rev/f0f7a0e0df83
You should push this change to ESR 102 since without it, the structure of the string doesn't match and the translation isn't used. The localisations have the access key, examples:
https://searchfox.org/l10n/rev/df0c315d14df2489bb47a696963390fb8781af72/de/mail/messenger/preferences/preferences.ftl#553
https://searchfox.org/l10n/rev/df0c315d14df2489bb47a696963390fb8781af72/fr/mail/messenger/preferences/preferences.ftl#552
Comment 10•3 years ago
|
||
That said, some locales don't have it:
https://searchfox.org/l10n/rev/df0c315d14df2489bb47a696963390fb8781af72/ja-JP-mac/mail/messenger/preferences/preferences.ftl#424
So the only way to fix this is to create a new string name :-(
Comment 11•3 years ago
|
||
On second thought: Maybe just adding it again will eventually cause the locales that don't have it, like Japanese, to add it again.
| Assignee | ||
Comment 12•3 years ago
|
||
Apparently only pl and Japanese do not have the accesskey.
(In reply to b1 from comment #9)
You should push this change to ESR 102 since without it, the structure of the string doesn't match and the translation isn't used.
If this is a problem for the scripts that seems like something we should see if it can be fixed.
For Fluent itself, I don't think that should be a problem?
Comment 13•3 years ago
|
||
This is the effect using
http://ftp.mozilla.org/pub/thunderbird/candidates/102.2.0-candidates/build2/win64/es-AR/
| Assignee | ||
Comment 14•3 years ago
•
|
||
language-popup-label is missing from the es-AR localization file. I assume it's the merging script that nuked it.
Comment 15•3 years ago
|
||
It's more likely that the string is rejected altogether due to the difference in structure from:
https://searchfox.org/comm-esr102/rev/b0233f0ef4e5f439d7ff2c7eebf7c1cd93dfcd70/mail/locales/en-US/messenger/preferences/preferences.ftl#542
That's why we suggested to uplift https://hg.mozilla.org/comm-central/rev/d821feda2cc1. If comment #12 is correct, only ja and pl will then need to adjust.
| Assignee | ||
Comment 16•3 years ago
|
||
language-popup-label is not there if you download the build2 zip file and take a look at the es-AR preferences.ftl. There's a blank hole of a few lines where it should be.
Comment 17•3 years ago
|
||
Exactly. The XPI and the repackaged installer are missing the string since the repacking process rejects it due to the different structure. All will be fine if you do the uplift we suggested (apart from ja and pl).
Comment 18•3 years ago
|
||
| bugherder uplift | ||
Thunderbird 102.2.0:
https://hg.mozilla.org/releases/comm-esr102/rev/597f8a904021
Updated•3 years ago
|
Description
•