Closed
Bug 1126250
Opened 10 years ago
Closed 10 years ago
Show one-off buttons when clicking the magnifying glass
Categories
(Firefox :: Search, defect)
Tracking
()
People
(Reporter: phlsa, Assigned: florian)
References
Details
Attachments
(2 files, 1 obsolete file)
(deleted),
image/png
|
Details | |
(deleted),
patch
|
mossop
:
review+
lmandel
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•10 years ago
|
||
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)
Updated•10 years ago
|
Flags: qe-verify+
Flags: firefox-backlog+
Assignee | ||
Comment 2•10 years ago
|
||
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.
Reporter | ||
Comment 3•10 years ago
|
||
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)
Reporter | ||
Comment 4•10 years ago
|
||
Actually, after looking into it one more time: forget comment #3 and let's use the string we already have (»Search with:«).
Assignee | ||
Comment 5•10 years ago
|
||
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
Comment 6•10 years ago
|
||
Hi Florian, can you provide a point value.
Status: NEW → ASSIGNED
Iteration: --- → 38.2 - 9 Feb
Flags: needinfo?(florian)
Assignee | ||
Updated•10 years ago
|
Points: --- → 3
Flags: needinfo?(florian)
Updated•10 years ago
|
Iteration: 38.2 - 9 Feb → 38.3 - 23 Feb
Comment 7•10 years ago
|
||
Tracking as either this bug or bug 1123311 should be fixed in 37.
status-firefox37:
--- → affected
status-firefox38:
--- → affected
tracking-firefox37:
--- → +
tracking-firefox38:
--- → +
Assignee | ||
Comment 8•10 years ago
|
||
Attachment #8560574 -
Attachment is obsolete: true
Attachment #8566581 -
Flags: review?(dtownsend)
Updated•10 years ago
|
Attachment #8566581 -
Flags: review?(dtownsend) → review+
Assignee | ||
Comment 9•10 years ago
|
||
Flags: in-testsuite+
Whiteboard: [fixed-in-fx-team]
Assignee | ||
Comment 10•10 years ago
|
||
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?
Assignee | ||
Comment 11•10 years ago
|
||
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 12•10 years ago
|
||
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+
Comment 13•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 38
Updated•10 years ago
|
QA Contact: petruta.rasa
Comment 15•10 years ago
|
||
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.
Comment 16•10 years ago
|
||
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.
Description
•