Closed
Bug 405892
Opened 17 years ago
Closed 16 years ago
Finish polish of the search field
Categories
(Toolkit :: Downloads API, enhancement, P4)
Toolkit
Downloads API
Tracking
()
VERIFIED
FIXED
mozilla1.9.1a2
People
(Reporter: madhava, Assigned: dao)
References
Details
(Keywords: polish)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
sdwilsh
:
review+
|
Details | Diff | Splinter Review |
[actually nominating for wanted]
As shown in this mockup (attached to bug 397655) :
https://bugzilla.mozilla.org/attachment.cgi?id=288692
We should add the magnifying glass icon (appropriate per platform) that we use in all search fields in Firefox.
Flags: blocking-firefox3?
Comment 1•17 years ago
|
||
We need a global searchbar style for every search widget, and to just use that where appropriate.
Flags: wanted-firefox3+
Flags: blocking-firefox3?
Flags: blocking-firefox3-
Priority: -- → P4
Target Milestone: --- → Firefox 3 M11
Comment 2•17 years ago
|
||
Would it be bad to just reuse chrome://browser/skin/Search.png and related styles?
Is there an issue of download manager being in toolkit?
madhava: Is the endcap supposed to be round on os x (basically copy what the search engine bar looks like)?
If so, Dão, the search box can't be just a plain textbox with an image tacked on at the end? (Even if not, what about rtl issues?)
Assignee | ||
Comment 3•17 years ago
|
||
(In reply to comment #2)
> Would it be bad to just reuse chrome://browser/skin/Search.png and related
> styles?
>
> Is there an issue of download manager being in toolkit?
Yes. What we can do is move the image to /toolkit and update the references in /browser.
> If so, Dão, the search box can't be just a plain textbox with an image tacked
> on at the end? (Even if not, what about rtl issues?)
We should just use the upcoming search textbox widget.
Reporter | ||
Comment 4•17 years ago
|
||
Yeah, it ought to match OS X style on mac, so we should use the search textbox widget.
Comment 5•17 years ago
|
||
So OS X has a search icon, rounded search box, text "Search...", and it's right aligned in the window.
Should other platforms get some/all of this treatment?
Assuming we won't be able to use the search textbox widget..
Comment 6•17 years ago
|
||
On OSX round=search, yes, and it should get that view. I'm sad we won't be able to use the search textbox widget, though. A boo hoo hoo.
Comment 7•17 years ago
|
||
Are we not getting the textbox widget anymore?
Assignee | ||
Comment 8•17 years ago
|
||
this builds upon the patch in bug 388811
Assignee: nobody → dao
Status: NEW → ASSIGNED
Comment 9•17 years ago
|
||
Do we need to remove any styles for this? Do our unit tests still pass?
Assignee | ||
Comment 10•17 years ago
|
||
pinstripe should be cleaned up. The tests should pass since the search box comes from a timed textbox, although I haven't yet looked at your tests in detail.
Assignee | ||
Comment 11•17 years ago
|
||
Attachment #308928 -
Attachment is obsolete: true
Comment 12•17 years ago
|
||
Shawn is probably referring to this testcase in particular:
http://mxr.mozilla.org/seamonkey/source/toolkit/mozapps/downloads/tests/browser/browser_bug_416303.js
It makes sure hitting esc in the input clears the search and moves focus to the list. Hitting esc from the list closes the window.
Assignee | ||
Comment 13•17 years ago
|
||
Yes, I knew about these tests theoretically. The second test script that interacts with the search field is browser_multiword_search.js. Both will pass if bug 388811 gets fixed as expected.
Comment 14•17 years ago
|
||
Comment on attachment 308938 [details] [diff] [review]
patch, including pinstripe cleanup
r=sdwilsh, but you need to cleanup winstripe and gnomestripe as well.
Attachment #308938 -
Flags: review+
Assignee | ||
Comment 15•17 years ago
|
||
winstripe and gnomestripe don't seem to provide a special styling for the search field. Am I missing something?
Comment 16•17 years ago
|
||
Comment on attachment 308938 [details] [diff] [review]
patch, including pinstripe cleanup
hehe, I thought they did, but upon further investigation I see I was wrong. r=sdwilsh as the patch stands.
Attachment #308938 -
Flags: approval1.9?
Comment 17•17 years ago
|
||
Comment on attachment 308938 [details] [diff] [review]
patch, including pinstripe cleanup
a1.9+=damons
Attachment #308938 -
Flags: approval1.9? → approval1.9+
Updated•17 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 18•17 years ago
|
||
please don't check this in before bug 388811.
Keywords: checkin-needed
Assignee | ||
Updated•17 years ago
|
Target Milestone: Firefox 3 beta5 → ---
Assignee | ||
Updated•17 years ago
|
Attachment #308938 -
Flags: approval1.9+
Updated•16 years ago
|
Product: Firefox → Toolkit
Assignee | ||
Comment 19•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1a2
Comment 20•16 years ago
|
||
Mmh why the magnifying icon is still on the left side? Each search field shows this icon on the right side. Is this intended or shall I file a new bug about that issue?
Assignee | ||
Comment 21•16 years ago
|
||
(In reply to comment #20)
> Mmh why the magnifying icon is still on the left side?
That is taken over from pinstripe's styling for the search fields in the bookmarks and history sidebar.
Comment 22•16 years ago
|
||
(In reply to comment #21)
> That is taken over from pinstripe's styling for the search fields in the
> bookmarks and history sidebar.
I filed bug 449465.
Comment 23•16 years ago
|
||
Dao, when hitting ESC within the web search field the content doesn't get cleared like it happens for all the other search textbox fields. Is this instance different? If its not intended we should reopen the bug and fix the remaining issue.
Assignee | ||
Comment 24•16 years ago
|
||
Which web search field?
Comment 25•16 years ago
|
||
"Tools | Web Search" or simply the one near the location bar e.g the Google search.
Assignee | ||
Comment 26•16 years ago
|
||
So which bug would you want to reopen? This one is about the download manager.
FYI: The searchbar has its own binding. I don't think we want to use the new search textbox widget from toolkit there, since you could only clear the textbox but not the results.
Comment 27•16 years ago
|
||
Thanks for the enlightenment.
Verified this replacement with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1a2pre) Gecko/20080808120213 Minefield/3.1a2pre ID:20080808120213
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1a2pre) Gecko/20080808120213 Minefield/3.1a2pre ID:20080808120213
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•