Closed
Bug 347400
Opened 18 years ago
Closed 18 years ago
search button disconnected from search field
Categories
(Firefox :: Toolbars and Customization, defect, P1)
Tracking
()
VERIFIED
FIXED
Firefox 2 beta2
People
(Reporter: asa, Assigned: pamg.bugs)
References
Details
(Keywords: verified1.8.1, Whiteboard: [Fx2 theme change])
Attachments
(9 files, 2 obsolete files)
90.87 KB,
image/png
|
Details | |
8.85 KB,
image/png
|
Details | |
10.04 KB,
image/png
|
Details | |
2.29 KB,
image/png
|
Details | |
6.68 KB,
image/png
|
Details | |
5.00 KB,
image/png
|
Details | |
11.35 KB,
image/png
|
Details | |
15.35 KB,
patch
|
mconnor
:
review+
mconnor
:
approval1.8.1+
|
Details | Diff | Splinter Review |
5.16 KB,
image/png
|
Details |
The search button is disconnected from the search field in the primary toolbar. this is fine on windows but broken on mac.
Comment 1•18 years ago
|
||
Reporter | ||
Comment 2•18 years ago
|
||
Updated•18 years ago
|
Assignee: nobody → mconnor
Comment 3•18 years ago
|
||
*** Bug 347787 has been marked as a duplicate of this bug. ***
Comment 4•18 years ago
|
||
Pam, can you take a look here?
Assignee: mconnor → pamg.bugs
Flags: blocking-firefox2+
Whiteboard: [Fx2 theme change]
Assignee | ||
Comment 5•18 years ago
|
||
A similar space, I presume extraneous, appears between the location bar and its Go button.
Comment 6•18 years ago
|
||
no the go button is only slightly disconnected from the location bar. I believe there is a bug on that as well.
Reporter | ||
Comment 7•18 years ago
|
||
that's bug 347405.
Assignee | ||
Updated•18 years ago
|
Priority: -- → P1
Target Milestone: --- → Firefox 2 beta2
Comment 8•18 years ago
|
||
This happens on Linux (Gentoo gcc 4.1.1 glibc 2.4 cairo 1.2) too. http://www.vladsharp.com/images/work/search_button_mouseover.png
Assignee | ||
Comment 9•18 years ago
|
||
Assignee | ||
Comment 10•18 years ago
|
||
This will need to be added as browser/themes/pinstripe/browser/Search-provider-bkgnd.png In addition, the following images in browser/themes/pinstripe/browser/ are no longer needed and will be removed: Search.png Search-add-engines.png search-bar-background-left.png search-bar-background-right.png Finally, the image currently named Search-add-engines.png will be re-added as Search-go.png.
Assignee | ||
Comment 11•18 years ago
|
||
This patch rolls up fixes for this bug as well as bug 347961.
Attachment #233164 -
Flags: superreview?(mconnor)
Attachment #233164 -
Flags: review?(jgoldman)
Assignee | ||
Comment 12•18 years ago
|
||
Jay, I'd appreciate it if you could take a look at the CSS parts of this patch. In particular, I'm not at all familiar with what's needed for RTL, nor do I know how to test that situation.
Comment 13•18 years ago
|
||
pam, the way I have been testing RTL is by adding this to my userChrome.css file: :root { direction : rtl } (cc'ing asaf and simon, kings of RTL)
Comment 14•18 years ago
|
||
(In reply to comment #13) > pam, the way I have been testing RTL is by adding this to my userChrome.css > file: > > :root { direction : rtl } To test something like this which depends on chromedir, you also need to set &locale.dir; to rtl. We need to find a way to do that at run-time, or create an rtl pseudo-l10n.
Assignee | ||
Comment 15•18 years ago
|
||
Comment on attachment 233164 [details] [diff] [review] Fixes searchbar appearance on Windows and Mac Scratch this. RTL-enabled patch coming soon.
Attachment #233164 -
Attachment is obsolete: true
Attachment #233164 -
Flags: superreview?(mconnor)
Attachment #233164 -
Flags: review?(jgoldman)
Comment 16•18 years ago
|
||
This is off topic - but what is RTL?
Assignee | ||
Comment 17•18 years ago
|
||
Right-to-left, in contrast to LTR as a direction for text.
Comment 18•18 years ago
|
||
Ok, that makes more sense than "Real Time Linking" - thank you.
Assignee | ||
Comment 19•18 years ago
|
||
This image has the four individual frames flipped rather than the whole thing, to simplify the CSS rules.
Assignee | ||
Comment 20•18 years ago
|
||
Assignee | ||
Comment 21•18 years ago
|
||
Assignee | ||
Comment 22•18 years ago
|
||
Assignee | ||
Comment 23•18 years ago
|
||
To summarize, in addition to applying this patch, the following changes will be needed: In pinstripe/browser/: add Search-provider-bkgnd.png add Search-provider-bkgnd-rtl.png add Search-go-rtl.png update Search-go.png with what's currently Search-add-engines.png remove Search.png remove Search-add-engines.png remove search-bar-background-left.png remove search-bar-background-right.png remove Search-bar.png In winstripe/browser/: update Search-rtl.png remove Search-add-engines.png remove Search-bar.png
Attachment #233253 -
Flags: review?
Assignee | ||
Updated•18 years ago
|
Attachment #233253 -
Flags: review? → review?(mconnor)
Assignee | ||
Updated•18 years ago
|
Attachment #233160 -
Attachment description: Fixed searchboxes on Mac and Windows → Screenshot of fix on Mac and Windows
Comment 24•18 years ago
|
||
Comment on attachment 233253 [details] [diff] [review] Fixed searchboxes, including RTL > <binding id="searchbar" > extends="chrome://browser/content/search/search.xml#searchbar-base"> > <content> > <xul:stringbundle src="chrome://browser/locale/search.properties" > anonid="searchbar-stringbundle"/> > <xul:box class="searchbar-left" flex="1"> > <xul:box class="searchbar-right" flex="1"> *snip* why do we have nested boxes like this? seems like its just cruft, and shouldn't be at _all_ necessary. > </xul:box> > </xul:box> > </content> I'm not completely sure about this from a UI perspective, but trying to keep the button inside of the textbox is a pain, so I'm inclined to try it for beta2. Going to approve as well so we can get on branch ASAP and get more feedback.
Attachment #233253 -
Flags: review?(mconnor)
Attachment #233253 -
Flags: review+
Attachment #233253 -
Flags: approval1.8.1+
Comment 25•18 years ago
|
||
(In reply to comment #24) > why do we have nested boxes like this? seems like its just cruft, and > shouldn't be at _all_ necessary. It's needed for the Mac search box styling, you reviewed the patch to add it in bug 337292 :)
Assignee | ||
Comment 26•18 years ago
|
||
(In reply to comment #24) > why do we have nested boxes like this? seems like its just cruft, and > shouldn't be at _all_ necessary. Like Gavin said, it used to be used for the images forming the ends of the Mac searchbar. It's not needed anymore, since the ends are occupied by the two buttons now. I left it in with the idea that it'd let a theme author play around with those parts, but I don't know anything about theme writing, so perhaps that's pointless?
Comment 27•18 years ago
|
||
Hey Pam, you weren't on IRC, so I went ahead and landed this on the 1.8 branch since we're trying to do as much of a run as we can tonight on getting new theme pieces landed. As gavin pointed out, the nested boxes are just evil Mac pain, so we'll live for now. Thanks!
Keywords: fixed1.8.1
Assignee | ||
Comment 28•18 years ago
|
||
I notice that winstripe's Search.png got updated in tonight's landing. I've checked in this new Search-rtl.png to match. Eventually we'll want to clear out the unused images, too, but they're not in the jar.mn, so they're no real harm.
Attachment #233249 -
Attachment is obsolete: true
Assignee | ||
Updated•18 years ago
|
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Status: RESOLVED → VERIFIED
Keywords: fixed1.8.1 → verified1.8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•