-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Bug]Wrong default search engine displayed on startup #11875
Comments
I didn't only see the amazon icon in the search bar but also had it set as default and Google still missing from the engines list. Once I've done a search using amazon, it stays as default even after another restart. Not 100% reproducible, maybe 1/6. |
(adding these labels for tracking, but if this is an edge case, we may skip it for a release blocker, and only do this in the fast-follow release that is this current sprint) |
@Mugurell is this something you and your team could look at during your day? |
Hi @liuche I've just re-checked this on ✔️ Can't reproduce on: Huawei Mate 20 Lite (Android 9) Each time the user opens Fenix after previously closing it Amazon will get displayed. Deleting Amazon from the Search engine will display Bing (and so on) even if the default search engine is set to Google |
I also see this in Nightly for every fresh app start. |
This is really interesting. |
So it looks like there is a difference between the Firefox Preview Beta (PS build) and Fenix.fennec-beta (migration) builds: Scenario 1:
Scenario 2:
*If you had Fennec installed and migrate to Fenix, this doesn't happen. |
I can reproduce the same behavior as for Nightly if configuring the debug build to use the same MLS here so the issue may be related to the region/country/language MLS returns or how we use that data. |
The issue is that refreshAsync() takes too much while based on MLS we get the location aware identifiers early. We could come up with a simple patch to also use the fallback identifiers.. |
We talked this over and decided that we can ship this to Beta (so that we can get the perf experiment #7795 running), but want it to be fixed for Release, so we can take it as an uplift. |
One important detail is that this issue is possible due to Google having it's identifier overridden for US to be "google-b-1-m" Thought I'd be able to sync the various calls but this leads to a longer startup time, something that we wanted to avoid in the first place - (see #9935) What I suggest (based on Sebastian's comment - #9935 (comment)) is to:
Curious about your thoughts @boek |
This should be ready to test in the next Nightly. |
We have two search engine types: - one based on MLS reported region, - one based only on Locale. There are multiple steps involved in returning the default search engine for example and though at each step we could verify if a certain operation is completed we are still exposed to concurrency issues. Simplest and most effective way to make sure the MLS engines do not mix with Locale based engines is to use the same type of engines for the entire duration of the app. At the next cold start we'll verify again which engines to use. Using the Locale based engines (fallbacks) is expected to only happen once, at the first run of the application after being installed.
Now, when I add custom DuckDuckGo search, it won't appears until browser restart Steps:
Hmmm... but
|
Thank you. Looking into this. |
@Mugurell There is also this issue on 79.0-beta6:
The difference between beta 5 & 6 is that before, the Yandex logo was only shown on the onboarding screen and disappeared when you tapped the search bar. On EN-US I didn't see any issues. |
Closing as per #11875 (comment) |
Prerequisites
Have a fresh install or a clean profile
Have the Language and input setting set to English - US
Steps to reproduce
Expected behavior
Google's icon should be displayed in the Nav bar
Actual behavior
Amazon's icon is displayed
After you tap "Start browsing" and dismiss the search view the correct default search engine is displayed
Device information
• Google Pixel 3a (Android 10)
• OnePlus A3 (Android 6.0.1)
Notes
► Video
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: