-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Bug] (regression) Google (and other engines) missing in other languages #6981
Comments
Maybe this is expected if these are the bundled search engines for each locale. Just to clarify @mkaply: is the expectation that your search engines will always match the locale that you start with? or location? And if you switch to a different locale (or location), you do not change the search engines (and add a Yandex if you switch to RU, for example). |
These definitely aren't the bundled search engines for each locale. Every locale has Google, Wikipedia and others and those are missing. The three that are being used (Bing, DDG, Twitter) are coincidentally the only engines that are exactly the same in every locale. I'm guessing that's going to help figure this out. And yes, the expectation is that when you switch locales, you get a new set of engines for that locale. |
@kglazko Are you still working on this? Need any help? |
I will unassign myself for now because I have some other things I'm working on at the moment :) Feel free to take a look! |
Thanks @Mugurell! If you could pick this up, that would be great. |
Looked into this, found the underlying problem to be that when we return the list of search engines to be displayed in the AwesomeBar we filter the engines by a list of search engine identifiers So after changing the language on the device and ask for the search engines list to be displayed in the AwesomeBar we get a new list of search engines (different than before because of the locale change) which we filter by the same initial list of identifiers and now get fewer engines matching. A solution might be to rebuild the list of identifiers every time the locale is changed (remove all identifiers of the previous default engines, add the identifiers of the new ones (keep the identifiers of the custom search engines )). But I'm just wondering why do we need this identifiers. Since I see you worked the most on this, @boek I'm asking you if you think it would be ok to just remove the identifiers altogether or if we should go through the route of rebuilding the identifiers with each locale change. |
Can reproduce and another particularly bad example:
You only see Twitter as an option |
… engines when locale changes
… engines when locale changes
Hi, the issue is not reproducible anymore.
Devices:
Build: Firefox Preview 4.0.0-beta.1 (Build #20500408) GV: 74.0-20200216164042
Google Pixel 3a (Android 9) |
Removing the |
Steps to reproduce
Switch language to French or German on the device.
Go to conduct a search.
Expected behavior
Google (and other engines) are present.
Actual behavior
Google is missing. All that is there is Bing, DDG and Twitter
Device information
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: