Closed
Bug 695198
Opened 12 years ago
Closed 11 years ago
Search engines
Categories
(Firefox for Android Graveyard :: General, defect, P2)
Tracking
(fennec11+)
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
fennec | 11+ | --- |
People
(Reporter: elan, Assigned: bnicholson)
References
Details
(Keywords: uiwanted, Whiteboard: [QA+])
Attachments
(3 files, 1 obsolete file)
7.74 KB,
text/plain
|
Details | |
20.93 KB,
patch
|
Gavin
:
feedback-
|
Details | Diff | Splinter Review |
21.47 KB,
patch
|
Details | Diff | Splinter Review |
* some fix up for the url handler - move handler from CLH into browser.js * UI to allow user to change search provider (sqlite db)
Reporter | ||
Updated•12 years ago
|
OS: Mac OS X → Android
Hardware: x86 → ARM
Updated•12 years ago
|
Priority: P1 → P2
Updated•12 years ago
|
Whiteboard: [QA+]
Comment 2•12 years ago
|
||
Given how we're scaling this back (from "pick from this list at search time" to "choose your default search provider"), this will go in Prefs. Something along the lines of: ---------------------------- Search Engine (v) ---------------------------- which, when tapped, gives you the list like so: ----------------------------- | [icon] Google [/]| | [icon] Bing [ ]| | [icon] Yahoo [ ]| etc. Do we know what this full list is? Are we including Twitter and Yahoo? Will we also include them all when we run out of awesomeresults in the awesomescreen?
Comment 3•12 years ago
|
||
(In reply to Madhava Enros [:madhava] from comment #2) > Given how we're scaling this back (from "pick from this list at search time" > to "choose your default search provider"), this will go in Prefs. > > Something along the lines of: > > ---------------------------- > Search Engine (v) > ---------------------------- > > which, when tapped, gives you the list like so: > > > ----------------------------- > | [icon] Google [/]| > | [icon] Bing [ ]| > | [icon] Yahoo [ ]| This is the standard "list" preference in Android. We have built-in support for it. The only difference from the simple case is that we are building the list dynamically, not statically. > Do we know what this full list is? Are we including Twitter and Yahoo? The list will be whatever we support in XUL Fennec > Will we also include them all when we run out of awesomeresults in the > awesomescreen? I don't think so. Not for v1 of the native UI
Comment 4•12 years ago
|
||
We can pull the list from the SearchService in browser.js Let's just add messages to send the list to the Java layer. When setting the default via "Preferences:Set" we'll need to special case this preference and use the SearchService to set the default.
Updated•12 years ago
|
Assignee: madhava → bnicholson
Comment 5•12 years ago
|
||
Also, this list is locale dependent, and the data for that is currently in the gecko part, plus search plugins in the profile from user-installed searchplugins.
Comment 6•12 years ago
|
||
To clarify, I think that Madhava is wrong in comment 2 that we're adding an option for choosing ones "default" search provider. We're changing the "selected" one. CCing Kev to keep him in the loop.
Assignee | ||
Comment 7•12 years ago
|
||
From what it sounds like, you guys want to be able to switch the search engine from the preferences screen, with no search engine controls in the AwesomeBar. With the current search service, that change would require modifying the "browser.search.defaultenginename" preference. Pike, wesj, and I had a discussion about this in IRC: http://pastebin.mozilla.org/1373839 Should we still go with this approach?
Assignee | ||
Comment 8•12 years ago
|
||
included discussion as an attachment, just in case
Assignee | ||
Comment 9•12 years ago
|
||
Adds the Search Engine preference (currently ignored by the AwesomeBar).
Comment 10•12 years ago
|
||
Indeed, we created some confusion here. Let me restate the original goal: * Typing two or more words in the awesomebar results in a Google search for those words. * Let's make a preference to switch the search provider from Google (the default) to one of the other installed search engines. So the assumption that the awesombar behavior was linked to the search engines was a bit wrong. nsIURIFixup uses the keyword.URL preference first, then tries to fallback to the default search provider, not the currently selected provider. We lose. We either need to: * Add specific code in browser.js to look for multiple words and manually use the selected search engine * Add some UI to cause a search, not navigate
Assignee | ||
Comment 11•12 years ago
|
||
This patch now uses the selected search engine for searches.
Attachment #572173 -
Attachment is obsolete: true
Attachment #573650 -
Flags: review?(mark.finkle)
Assignee | ||
Comment 12•12 years ago
|
||
I think the "default search engine" option is a lot more sensible when we actually have a way to switch between them in the awesomebar UI. This patch is one UI approach for doing so. The search engine is shown at the top left next to the search bar, and the user can click and drag to select a different search engine.
Comment 13•12 years ago
|
||
Comment on attachment 573650 [details] [diff] [review] patch v2 You shouldn't be modifying the browser.search.selectedEngine pref directly, it's managed by the search service. Use the Services.search.currentEngine setter/getter instead.
Attachment #573650 -
Flags: feedback-
Comment 14•11 years ago
|
||
I think we have added search engine support everywhere we intend to for the initial Native release. If not, file a new bug with specs.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Updated•11 years ago
|
tracking-fennec: --- → 11+
Updated•11 years ago
|
Attachment #573650 -
Flags: review?(mark.finkle)
Updated•2 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•