Closed Bug 1021777 Opened 10 years ago Closed 10 years ago

Set multiple search engines by default

Categories

(Firefox OS Graveyard :: Gaia::Browser, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(b2g-v2.0 verified, b2g-v2.1 verified)

VERIFIED FIXED
2.0 S4 (20june)
Tracking Status
b2g-v2.0 --- verified
b2g-v2.1 --- verified

People

(Reporter: benfrancis, Assigned: benfrancis)

Details

(Whiteboard: [systemsfe][p=2])

Attachments

(2 files)

Peter has asked me to set Google, Yahoo & Bing as search engine options for 2.0 by default to match homescreen search. Currently we just have Google.
Slightly confused, this populates the browser database with search engines but we never show the UI for configuring search engines in the browser right? I applied this patch and did a reset-gaia and nothing seemed to change.

Shouldnt we pick up the search provider and icon thats configured in settings?
Flags: needinfo?(pla)
Flags: needinfo?(bfrancis)
Sorry, wrong Peter
Flags: needinfo?(pla) → needinfo?(pdolanjski)
We show the dropdown in browser settings when there is more than one search provider specified at build time. It works for me, so I wonder what we are doing differently?

I don't think we can share the setting with the search app because the EverythingMe implementation hard coded inside the search app doesn't have a web-based equivalent that can be used inside the browser.
Flags: needinfo?(bfrancis)
(In reply to Ben Francis [:benfrancis] from comment #4)
> We show the dropdown in browser settings when there is more than one search
> provider specified at build time. It works for me, so I wonder what we are
> doing differently?
> 
> I don't think we can share the setting with the search app because the
> EverythingMe implementation hard coded inside the search app doesn't have a
> web-based equivalent that can be used inside the browser.

This was the thought for 2.0.  We can amalgamate them in 2.1.
Flags: needinfo?(pdolanjski)
Comment on attachment 8435914 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/20154

Not sure what was up with my previous built but is working now, apologies for the delay.
Attachment #8435914 - Flags: review?(dale) → review+
Merged into master https://github.com/mozilla-b2g/gaia/commit/40f66e55044dbb6b882d51cd7bd5ee2548aa2269
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment on attachment 8435914 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/20154

[Approval Request Comment]
[User impact] if declined: No choice of search engines in the browser app by default.
[Testing completed]: Manual testing of configuration change, no new functionality added.
[Risk to taking this patch] (and alternatives if risky): Small, just a change of the default configuration requested by Product, no functional changes.
[String changes made]: None.
Attachment #8435914 - Flags: approval-gaia-v2.0?
Attachment #8435914 - Flags: approval-gaia-v2.0? → approval-gaia-v2.0+
Attached video video of issue verify
This issue has been verified successfully on Flame v2.0 & v2.1
Note:
Search engine of Flame 2.0: Browser -> settings
Search engine of Flame 2.1: Settings -> Search
See attachment: verify_video.MP4
Reproducing rate: 0/5
Flame 2.0 versions:
Gaia-Rev        f9d6e3d83c3922e9399a6c27f5ce4cdd27bdfd05
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/45112935086f
Build-ID        20141126000203
Version         32.0
Device-Name     flame
FW-Release      4.4.2
FW-Incremental  eng.cltbld.20141126.032754
FW-Date         Wed Nov 26 03:28:05 EST 2014
Bootloader      L1TC00011880

Flame 2.1 versions:
Gaia-Rev        db2e84860f5a7cc334464618c6ea9e92ff82e9dd
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/211eae88f119
Build-ID        20141126001202
Version         34.0
Device-Name     flame
FW-Release      4.4.2
FW-Incremental  eng.cltbld.20141126.033519
FW-Date         Wed Nov 26 03:35:30 EST 2014
Bootloader      L1TC00011880
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: