Closed
Bug 1758729
Opened 2 years ago
Closed 2 years ago
Live language Search switch Wikipedia localized engine is not switched
Categories
(Firefox :: Search, defect, P2)
Tracking
()
VERIFIED
FIXED
100 Branch
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox98 | --- | unaffected |
firefox99 | --- | disabled |
firefox100 | --- | verified |
People
(Reporter: aflorinescu, Assigned: standard8)
References
Details
Attachments
(1 file)
[Description:]
Wikipedia has most engines localized, live switching requires the localized wikipedia engines to be changed.
[Environment:]
99.0b1 (2022-03-09)
100.0a1 (2022-03-09)
Mac 11
Windows 10
[Preconditions:]
user_pref("intl.multilingual.downloadEnabled", true);
user_pref("intl.multilingual.enabled", true);
user_pref("intl.multilingual.liveReload", true);
Install:
language-pack zh-cn
language-pack ca
[Steps:]
- Install a firefox Firefox locale, en-us for example (autoset region not that relevant).
- Install language packs from the preconditions.
- Open about:preferences / Language.
- Switch the language to zh-cn.
- Open a new tab with about:preferences / search and check engines
- Open new tab and try to search using the wikipedia engine.
[Actual Result:]
- Engines are shown correctly with zh-cn localization applied
- The search cannot be completed, en.wikipedia is removed but not replaced with cn.wikipedia (TypeError: can't access property "getSubmission", engine is null)
[Expected Result:]
- Engines are shown correctly with zh-cn localization applied
- before_language _switch_wikipedia is swapped with the after_language_switch_wikipedia.
[Regression Range:]
Not a regression.
Reporter | ||
Updated•2 years ago
|
Severity: -- → S3
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → standard8
Priority: -- → P2
Assignee | ||
Comment 1•2 years ago
|
||
The add-on manager may not have updated the default locale for the WebExtension, so we need to ensure we get the correct default locale.
Also correct the check for testing if the name is different to the existing engine.
Updated•2 years ago
|
Attachment #9268675 -
Attachment description: WIP: Bug 1758729 - Ensure search engines loading different locales from WebExtension are correctly loaded when reloading engines. → Bug 1758729 - Ensure search engines loading different locales from WebExtension are correctly loaded when reloading engines. r?mcheang!,jteow!
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d6cd1fa1e633 Ensure search engines loading different locales from WebExtension are correctly loaded when reloading engines. r=mcheang,jteow
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
Reporter | ||
Comment 4•2 years ago
|
||
Verified as fixed on Firefox 100.0b1 with Mac 11 and Windows 10.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•