Closed
Bug 338378
Opened 19 years ago
Closed 18 years ago
When customizing toolbars, search box has grey text and I-beam cursor and is hard to drag
Categories
(Firefox :: Search, defect)
Tracking
()
VERIFIED
FIXED
Firefox 2
People
(Reporter: Gavin, Assigned: mossop)
References
Details
(Keywords: regression, verified1.8.1)
Attachments
(1 file, 1 obsolete file)
3.99 KB,
patch
|
mossop
:
review+
mconnor
:
approval1.8.1+
|
Details | Diff | Splinter Review |
Looks like the adding of gray text to the search bar while it's in the palette makes it possible to select that text. The search bar binding constructor should probably not fire if the search bar is in the palette. There was a sort of hacky fix for this at http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/components/search/content/search.xml&rev=1.56#461 , but I'm not sure that it still works, and there isn't anything that prevents the normal startup in the search bar constructor itself.
Comment 1•18 years ago
|
||
This also makes moving the search bar much more difficult. When customizing the toolbars, the "hand" icon is only shown over the engine's favicon and the magnifying glass - otherwise it's a cursor to select text. Combined with the new flex behaviour for the bar length, the majority of the search bar is no use for rearranging. As Gavin points out, this is a regression from v1.5.
Flags: blocking-firefox2?
Assignee | ||
Updated•18 years ago
|
Keywords: regression
Comment 2•18 years ago
|
||
This isn't going to block release, but we'd take the polish patch if it's simple.
Flags: blocking-firefox2? → blocking-firefox2-
Assignee | ||
Comment 4•18 years ago
|
||
It turns out that the grey text had nothing to do with this and in fact this was a regression from bug 337292 adding extra elements between the textbox and the toolbaritem.
autocomplete.css uses an insanely specific rule to hide the input element of a textbox within a toolbaritem when toolbars are being customized.
This patch simply uses a simpler form of this rule for the specific search bar case.
Also included is code to disable the search bar initialisation when in customization, though that is not actually necessary to resolve this bug so it might be better to leave that out.
Attachment #233307 -
Flags: review?(gavin.sharp)
Assignee | ||
Comment 5•18 years ago
|
||
There is a different patch posted in bug 348947 that appears to be for the same issue as this.
Assignee | ||
Comment 6•18 years ago
|
||
*** Bug 348947 has been marked as a duplicate of this bug. ***
Comment 7•18 years ago
|
||
Changing target milestone to Fx2 and modifying summary since bug 348947 was duped against this. I think the effects seen on that bug are severe enough to reconsider blocking, so re-requesting.
Flags: blocking-firefox2- → blocking-firefox2?
Summary: Grey text should not appear when the search bar is in the customize toolbar palette → When customizing toolbars, search box has grey text and I-beam cursor and is hard to drag
Target Milestone: --- → Firefox 2
Comment 8•18 years ago
|
||
Connor apparently changed his mind on whether or not this blocks final release. OK, I guess. Not blocking beta2, though.
Flags: blocking-firefox2? → blocking-firefox2+
Reporter | ||
Comment 9•18 years ago
|
||
Comment on attachment 233307 [details] [diff] [review]
patch rev 1
>Index: browser/themes/winstripe/browser/browser.css
>+toolbarpaletteitem #searchbar html|*.textbox-input {
>+ visibility: hidden;
>+}
Use |#wrapper-search-container #searchbar html|*.textbox-input| as discussed on IRC, and r=me.
Attachment #233307 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 10•18 years ago
|
||
Changed selector as requested. Carrying over review.
Attachment #233307 -
Attachment is obsolete: true
Attachment #234578 -
Flags: review+
Updated•18 years ago
|
Whiteboard: [checkin needed]
Reporter | ||
Comment 11•18 years ago
|
||
mozilla/browser/components/search/content/search.xml 1.85
mozilla/browser/themes/pinstripe/browser/browser.css 1.30
mozilla/browser/themes/winstripe/browser/browser.css 1.44
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed] → [needs approval]
Comment 12•18 years ago
|
||
Comment on attachment 234578 [details] [diff] [review]
patch rev 2
a=mconnor on behalf of drivers for 1.8 branch checkin
Attachment #234578 -
Flags: approval1.8.1+
Reporter | ||
Updated•18 years ago
|
Whiteboard: [needs approval] → [checkin needed (1.8 branch)]
Reporter | ||
Comment 13•18 years ago
|
||
mozilla/browser/themes/winstripe/browser/browser.css 1.17.2.46
mozilla/browser/components/search/content/search.xml 1.37.2.57
mozilla/browser/themes/pinstripe/browser/browser.css 1.11.4.36
Keywords: fixed1.8.1
Whiteboard: [checkin needed (1.8 branch)]
Reporter | ||
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
•