Please report any other irregularities here.
Currently, we seem to only be able to define positions 1 and 2 as the default order of search providers. We need to extend this to be able to define the default position of the first 4 providers in the list.
Margaret - Is the order of the list based on anything? Like the order in the list.xml file or maybe it's alphabetical? (I mean for any provider that is not 1st or 2nd)
The code here makes it look like this: As long as we keep using prefs, we can set the order for any number of engines: http://mxr.mozilla.org/mozilla-central/source/toolkit/components/search/nsSearchService.js#3167 In fact, I see "3" orders being used: http://mxr.mozilla.org/mozilla-central/search?string=browser.search.order This should just work.
Add a "3" and "4" here using the same template: http://mxr.mozilla.org/mozilla-central/source/mobile/android/app/mobile.js#247 Add a "2", "3" and "4" here with the real values: http://mxr.mozilla.org/mozilla-central/source/mobile/locales/en-US/chrome/region.properties#9
We discovered that this already works fine
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
I'd think that if 4 works, then by coincidence, and not by design. 1-3 should work, though.
You need to log in before you can comment on or make changes to this bug.