Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Duckduckgo missing from alternative search engines, adding difficult, depends on locale #13452

Closed
EliasA opened this issue Aug 10, 2020 · 20 comments
Labels
🐞 bug Crashes, Something isn't working, .. eng:qa:verified QA Verified Feature:Search Feature:SearchProvider

Comments

@EliasA
Copy link

EliasA commented Aug 10, 2020

Steps to reproduce

1-launch Fenix
2- Open Settings
3- then Search
4- Select default engine

Expected behavior

DuckDuckGo is ready to choose among alternative search engines.

Actual behavior

DDG is not among selections.

The problem from user point of view: using add search engine does not accept URL https://duckduck.com for a seach engine string. One has to know that a working URL string is https://duckduckgo.com/?q=%s

Finding this piece of information is not easy and you have to exit the settings to find the information.

Device information

  • Android device: Nokia 6 (HMD Globa TA-1021)l
  • Fenix version: 79.0.2

┆Issue is synchronized with this Jira Task

@EliasA EliasA added the 🐞 bug Crashes, Something isn't working, .. label Aug 10, 2020
@github-actions github-actions bot added the needs:triage Issue needs triage label Aug 10, 2020
@pabl0
Copy link

pabl0 commented Aug 10, 2020

Furthermore, it would not hurt to have some other additional actual general purpose search engines. Firefox for Windows has Bing; the only option on Android mobiles is Google.

@data-sync-user data-sync-user changed the title Duckduckgo missing from alternative search engines, adding difficult FNX2-18725 ⁃ Duckduckgo missing from alternative search engines, adding difficult Aug 10, 2020
@EliasA
Copy link
Author

EliasA commented Aug 10, 2020

Moreover this seems to be language dependent: if I user Firefox in Finnish, DDG is not available as an alternative, If I use English/US, DDG is available. What is the logic behind this?

@EliasA
Copy link
Author

EliasA commented Aug 10, 2020

As I changed the language back to Finnish, DDG is still among the alternative search engines. Seems definately like a bug.

@liuche liuche added this to Inbox in Engineering triage via automation Aug 10, 2020
@liuche liuche moved this from Inbox to Sourpatch Staging in Engineering triage Aug 10, 2020
@data-sync-user data-sync-user changed the title FNX2-18725 ⁃ Duckduckgo missing from alternative search engines, adding difficult FNX3-23121 ⁃ Duckduckgo missing from alternative search engines, adding difficult Aug 11, 2020
@data-sync-user data-sync-user changed the title FNX3-23121 ⁃ Duckduckgo missing from alternative search engines, adding difficult FNX-14632 ⁃ Duckduckgo missing from alternative search engines, adding difficult Aug 11, 2020
@liuche liuche changed the title FNX-14632 ⁃ Duckduckgo missing from alternative search engines, adding difficult FNX-14632 ⁃ Duckduckgo missing from alternative search engines, adding difficult, depends on locale Aug 12, 2020
@liuche
Copy link
Contributor

liuche commented Aug 12, 2020

@vesta0 will follow up with mkaply about whether this is the desired combination.

@freebrowser1
Copy link

On my Fennec 80.0 beta, DDG is available, my langualge is English.

But search engines should be available independant of the used language.

@mkaply
Copy link

mkaply commented Aug 24, 2020

We have a worldwide agreement for DDG. This was an oversight.

I've opened a bug to fix in android components.

mozilla-mobile/android-components#8212

I think this worked in Fennec because they added ddg as part of the build process.

@mkaply
Copy link

mkaply commented Aug 24, 2020

I've put together a patch for this that should work. I also removed Twitter (which we've done on desktop)

mozilla-mobile/android-components#8215

I don't have a Fenix dev environment setup right now, but this should be a pretty straightforward change.

@vesta0
Copy link
Collaborator

vesta0 commented Aug 25, 2020

Thank you @mkaply

@liuche what would be the next step here?

@liuche
Copy link
Contributor

liuche commented Aug 25, 2020

Looks like @pocmo is working on a PR in AC, so when that lands, we should automatically get those changes and can put a qa-needed label on this.

@vesta0 based on the timing, I think this will be in Fenix 82 (which is the October release) unless you'd like it to be uplifted into the Beta, AND it's not a big change on the AC side to do so.

@liuche
Copy link
Contributor

liuche commented Aug 27, 2020

@vesta0 is this one of the issues that we wanted to get out in September?

@liuche liuche moved this from Sourpatch Staging to Uplifts for Firefox Beta 80 in Engineering triage Aug 27, 2020
@liuche liuche added the needs:uplift Issue / PR needs to be uplifted to the release branch label Aug 31, 2020
@vesta0
Copy link
Collaborator

vesta0 commented Sep 1, 2020

We don't need to uplift it - 82 should be fine.

@liuche liuche removed the needs:uplift Issue / PR needs to be uplifted to the release branch label Sep 1, 2020
@liuche liuche moved this from Uplifts for Firefox Beta 81 to Blocked in Engineering triage Sep 1, 2020
@liuche
Copy link
Contributor

liuche commented Sep 1, 2020

Looks like this actually made it into 81 AC cut anyway :)

@liuche
Copy link
Contributor

liuche commented Sep 1, 2020

QA, please verify that duck duck go is now included in the default search engines. Please test some locales, ddg should be part of all of them (from looking at the PR) (and twitter no longer part of the list).

@liuche liuche added the eng:qa:needed QA Needed label Sep 1, 2020
liuche added a commit to Amejia481/fenix that referenced this issue Sep 2, 2020
liuche added a commit that referenced this issue Sep 2, 2020
* Update Android Components version to 57.0.0.

* Remove feature flag for "View Downloads".

* Update search enginer list from changes by #13452

Co-authored-by: Chenxia Liu <liuche@mozilla.com>
TrianguloY pushed a commit to TrianguloY/fenix that referenced this issue Sep 3, 2020
…mobile#14592)

* Update Android Components version to 57.0.0.

* Remove feature flag for "View Downloads".

* Update search enginer list from changes by mozilla-mobile#13452

Co-authored-by: Chenxia Liu <liuche@mozilla.com>
@ebalazs-sv
Copy link

ebalazs-sv commented Sep 4, 2020

I had tested this issue on 81.1.0-beta.2 Build #2015761659 GV 81.0 from 9/2 and Nightly 200904 (Build #2015761907) GV 82.0a1 from 9/4 with Pixel 2 (Android 9), Nexus 5 (Android 6.0.1) and the results are:

Fresh install:
✔️ DuckDuckGo is available in the default search engine for Finnish and other several languages;
✔️ Twitter is not available in the default search engine list;

Updating the app:
✔️ DuckDuckGo is available in the defaults search engine list on Finnish language;
✔️ Twitter is not available in the default search engine list;

Updating the app with the Finnish language set:
❌ DuckDuckGo is not available in the defaults search engine list on Finnish language;
✔️ Twitter is not available in the default search engine list;
❗ This case is solved by clearing data and then setting Finnish language as default;

I will leave this open because this issue is not fixed when updating the app with the Finnish language set, and remove the qa:needed label for now.
This issue is also reproducible on Release 8.1.2 (Build #2015761283) GV 80.0.1 from 9/1.
cc @liuche please review and advise.

@ebalazs-sv ebalazs-sv removed the eng:qa:needed QA Needed label Sep 4, 2020
@B0pol
Copy link

B0pol commented Sep 4, 2020

@freebrowser1

But search engines should be available independant of the used language.

No, it makes sense sometimes. Imagine two people, one live in Japan, the other one in the USA; the Japanese person definitely wants the popular Japanese search engine but the american most likely doesn't want it.

Or chinese people don't want Google because it's banned in China.

@EliasA
Copy link
Author

EliasA commented Sep 4, 2020

Locale is not the same as language.

English, Spanish, French or German is major language in several countries. On the other hand, Finland has 3 official languages (Finnish, Swedish and Sámi) whereas South Africa has 12 official languages.

@liuche
Copy link
Contributor

liuche commented Sep 8, 2020

@pocmo do you know what the expected behavior should be when upgrading with a locale set? Trying to understand if this is a different bug in our search engine/locale code.

@mkaply
Copy link

mkaply commented Sep 9, 2020

Updating the app with the Finnish language set:
❌ DuckDuckGo is not available in the defaults search engine list on Finnish language;
✔️ Twitter is not available in the default search engine list;
❗ This case is solved by clearing data and then setting Finnish language as default;

What if you switch locale and switch back? Does it appear? I wonder if we're just storing the list and not refreshing when the browser is updated.

@ebalazs-sv
Copy link

ebalazs-sv commented Sep 9, 2020

Updating the app with the Finnish language set:
❌ DuckDuckGo is not available in the defaults search engine list on Finnish language;
✔️ Twitter is not available in the default search engine list;
❗ This case is solved by clearing data and then setting Finnish language as default;

What if you switch locale and switch back? Does it appear? I wonder if we're just storing the list and not refreshing when the browser is updated.

@mkaply This scenario does not solve the issue, DuckDuckGo is still missing after switching the language and the switch back. Restarting the app does not help either.
Also, I noticed that after changing the language the list of default search engines is not refreshed, an app restart is needed in order to see the available list.

@liuche
Copy link
Contributor

liuche commented Oct 6, 2020

Since this thread is long and the title doesn't reflect the upgrade-in-a-different-locale problem, I filed #15737 to make it more clear. Let's close this one because DDG was correctly added as a search engine, and we can reprioritize the other bug.

@liuche liuche closed this as completed Oct 6, 2020
@liuche liuche removed this from Blocked in Engineering triage Oct 7, 2020
@sflorean sflorean added the eng:qa:verified QA Verified label Oct 13, 2020
@data-sync-user data-sync-user changed the title FNX-14632 ⁃ Duckduckgo missing from alternative search engines, adding difficult, depends on locale Duckduckgo missing from alternative search engines, adding difficult, depends on locale May 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Crashes, Something isn't working, .. eng:qa:verified QA Verified Feature:Search Feature:SearchProvider
Projects
None yet
Development

No branches or pull requests

9 participants