Closed Bug 1126250 Opened 10 years ago Closed 10 years ago

Show one-off buttons when clicking the magnifying glass

Categories

(Firefox :: Search, defect)

38 Branch
x86
All
defect
Not set
normal
Points:
3

Tracking

()

VERIFIED FIXED
Firefox 38
Iteration:
38.3 - 23 Feb
Tracking Status
firefox37 + verified
firefox38 + verified

People

(Reporter: phlsa, Assigned: florian)

References

Details

Attachments

(2 files, 1 obsolete file)

Attached image Mockup
We can also reveal the one-off buttons when the magnifying glass is clicked. It makes sense to hide the history results though. Mainly because of privacy concerns, but also because they would push down the »Add XYZ« row on pages that provide open search considerably.
Thanks for the mockup! :) Did you really mean to add yet another "or search with:" string here? I was hoping the "Search with:" string we already added for the case where the user presses the down arrow on an empty searchbox was good for that too? I wonder if this could also be an opportunity to improve the UI when suggestions are disabled (we do have a separate bug on file for this though - bug 1109636, so we don't have to dig into it now).
Flags: needinfo?(philipp)
Flags: qe-verify+
Flags: firefox-backlog+
Note: depending on how much we want to uplift this fix (which depends on whether we really need a new string), we may wontfix bug 1123311.
Yes, I've added the »or« to make it a little more discoverable that the default is also a search provider you can use. It's a small thing, but it helps.
Flags: needinfo?(philipp)
Actually, after looking into it one more time: forget comment #3 and let's use the string we already have (»Search with:«).
Attached patch WIP Patch (obsolete) — Splinter Review
This already works, and I took the opportunity to also fix the keyboard navigation in that case, as it's dramatically easier to do now that bug 1124904 / bug 1102038 have landed. I'm not requesting review yet because I have only tested the CSS changes on Mac, and I would like to write some tests for the keyboard navigation changes.
Assignee: nobody → florian
Hi Florian, can you provide a point value.
Status: NEW → ASSIGNED
Iteration: --- → 38.2 - 9 Feb
Flags: needinfo?(florian)
Points: --- → 3
Flags: needinfo?(florian)
Iteration: 38.2 - 9 Feb → 38.3 - 23 Feb
Tracking as either this bug or bug 1123311 should be fixed in 37.
Attachment #8566581 - Flags: review?(dtownsend) → review+
Flags: in-testsuite+
Whiteboard: [fixed-in-fx-team]
Comment on attachment 8566581 [details] [diff] [review] Patch with tests Approval Request Comment [Feature/regressing bug #]: fixes/hides a regression caused by bug 1121550; but is generally an improvement for the new search UI (bug 1088660) [User impact if declined]: Useless "Search with:" line displayed in the small search panel when clicking on the glass icon without anything typed in the searchbox. [Describe test coverage new/current, TreeHerder]: the patch contains tests. [Risks and why]: IMO acceptable for aurora or the beginning of a beta cycle. [String/UUID change made/needed]: none.
Attachment #8566581 - Flags: approval-mozilla-aurora?
Comment on attachment 8566581 [details] [diff] [review] Patch with tests Review of attachment 8566581 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/components/search/test/browser_searchbar_openpopup.js @@ +463,5 @@ > promise = promiseEvent(searchPopup, "popuphidden"); > EventUtils.synthesizeKey("VK_ESCAPE", {}); > yield promise; > + > + textbox.value = ""; Note to whoever will uplift the patch: this one-line change isn't needed on 37; it's only fixing an issue with the test landed in bug 1114707, which didn't reach 37.
Comment on attachment 8566581 [details] [diff] [review] Patch with tests Although this patch has not yet landed on m-c, this behaviour is currently broken in 37. I'm going to approve for uplift before the merge to Beta. I'm glad to see that there are tests included in the patch and would appreciate this bug being verified on 37 before Beta 1. Aurora+
Attachment #8566581 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 38
QA Contact: petruta.rasa
Depends on: 1135676
I checked that the one-off search engines are displayed too when there is no text in the search field using Firefox 37 beta 1 and Developer Edition 38.0a2 2015-02-25 under win 7 64-bit, Ubuntu 14.04 64-bit and Mac OSX 10.10.
Status: RESOLVED → VERIFIED
Mistakenly filed against Firefox 38 and should be instead 38 Branch. Sorry for the spam. dkl
Version: Firefox 38 → 38 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: