Closed
Bug 1462799
Opened 6 years ago
Closed 6 years ago
Add empty searchOrder to list.json
Categories
(Thunderbird :: Search, enhancement)
Thunderbird
Search
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 62.0
People
(Reporter: mkaply, Assigned: mkaply)
References
Details
Attachments
(1 file, 1 obsolete file)
2.03 KB,
patch
|
mkaply
:
review+
|
Details | Diff | Splinter Review |
In anticipation of bug 1461345 which will remove search order from preferences, we should add an empty searchOrder section to the Thunderbird list.json so it won't break when it lands. You can add locale specific values later if you would like to, based on the browser.search.order prefs in the various region.properties (although I'm not sure it it's worth it on Thunderbird - search order doesn't mean much) We don't need to add Bing to the order because it will automatically be set as the first engine since it is the default.
Comment 1•6 years ago
|
||
Jörg, bug 1461345 is in autoland. Please can you look at this bug when the other lands?
Flags: needinfo?(jorgk)
Comment 2•6 years ago
|
||
Comment on attachment 8977110 [details] [diff] [review] searchorder.diff Thanks Michael. Looks like bug 1461345 go backed out for now. Looking over there, we should also remove Line 778: pref("browser.search.order.1", "chrome://messenger-region/locale/region.properties"); Line 779: pref("browser.search.order.2", "chrome://messenger-region/locale/region.properties"); Line 780: pref("browser.search.order.3", "chrome://messenger-region/locale/region.properties"); Line 782: pref("browser.search.order.US.1", "data:text/plain,browser.search.defaultenginename.US=Bing"); Line 783: pref("browser.search.order.US.2", "data:text/plain,browser.search.defaultenginename.US=Yahoo"); Line 784: pref("browser.search.order.US.3", "data:text/plain,browser.search.defaultenginename.US="); from all-thunderbird.js. Also, would it hurt to add "searchOrder": [ "Bing", "Google" ], All locales will have either or both of these.
Flags: needinfo?(jorgk) → needinfo?(mozilla)
Attachment #8977110 -
Flags: feedback+
Comment 3•6 years ago
|
||
Attachment #8979330 -
Flags: review?(mozilla)
Assignee | ||
Comment 4•6 years ago
|
||
Comment on attachment 8979330 [details] [diff] [review] 1462799-search-order.patch This is perfect and you won't need my change. This should go in after I land. Note that I'm going to make searchOrder optional in my patch so it won't actually break Thunderbird anymore.
Flags: needinfo?(mozilla)
Attachment #8979330 -
Flags: review?(mozilla) → review+
Comment 5•6 years ago
|
||
Comment on attachment 8977110 [details] [diff] [review] searchorder.diff Thanks. So no problem when having an engine in 'searchOrder' that doesn't appear in 'visibleDefaultEngines'?
Attachment #8977110 -
Attachment is obsolete: true
Assignee | ||
Comment 6•6 years ago
|
||
> Thanks. So no problem when having an engine in 'searchOrder' that doesn't appear in 'visibleDefaultEngines'?
Nope, it will just be ignored.
Assignee | ||
Comment 7•6 years ago
|
||
> Nope, it will just be ignored.
To be more specific, the engine is ignored, not the entire search order. It just skips over the missing one.
Pushed by mozilla@jorgk.com: https://hg.mozilla.org/comm-central/rev/2ff3278befbb Port bug 1461345: Add search order to list.json and remove from preferences. r=mkaply
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Target Milestone: --- → Thunderbird 62.0
You need to log in
before you can comment on or make changes to this bug.
Description
•