Closed Bug 352682 Opened 18 years ago Closed 18 years ago

Strange background for Go button in text-only mode

Categories

(Firefox :: General, defect)

2.0 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 2

People

(Reporter: marcoos, Assigned: pamg.bugs)

References

Details

(Keywords: fixed1.8.1, regression, Whiteboard: [Fx2 theme change])

Attachments

(2 files, 1 obsolete file)

The "Go" button in text-only mode on Linux has some strange backround, that makes it harder to read the "Go" word. This is probably an artifact of the shiny new non-native Go end-cap background. ;-) Part of this artifact disappears on hover, but a part of it still persists.
Attached image Screenshot
Attachment #238427 - Attachment is patch: false
Attachment #238427 - Attachment mime type: text/plain → image/png
IIRC the Go button should never show up as text button in the first place. This is a regression from bug 351618 I assume.
Flags: blocking-firefox2?
Keywords: regression
OS: Linux → All
Hardware: PC → All
Whiteboard: [Fx2 theme change]
Target Milestone: --- → Firefox 2
Version: unspecified → 2.0 Branch
Blocks: 352681
Blocks: NewTheme
(In reply to comment #2) > IIRC the Go button should never show up as text button in the first place. Why shouldn't it? There was another discussion in another bug that it actually should.
It should. But it shouldn't have that stray background image. Patch coming.
Assignee: nobody → pamg.bugs
Attachment #238486 - Flags: review?(mconnor)
Attachment #238486 - Flags: approval1.8.1?
Status: NEW → ASSIGNED
Comment on attachment 238486 [details] [diff] [review] Default to empty background image hover feedback might be nice, but not critical at all
Attachment #238486 - Flags: review?(mconnor)
Attachment #238486 - Flags: review+
Attachment #238486 - Flags: approval1.8.1?
Attachment #238486 - Flags: approval1.8.1+
(In reply to comment #6) > (From update of attachment 238486 [details] [diff] [review] [edit]) > hover feedback might be nice, but not critical at all > By "hover feedback" I assume you mean "bevel"? I believe the patch for bug 347754 attempts (or is going to attempt) that.
(In reply to comment #7) > I believe the patch for bug 347754 attempts (or is going to attempt) that. That patch would at least make it much simpler, since we could style the Go button per default as any other toolbar button and only apply special styling (and a specialized binding) when it's next to the address bar and we're not in text-only mode. Unfortunately that isn't going to happen for Firefox 2. BTW: Is there any bug to track which parts of the visual refresh should better not be landed on Trunk as is (such as the theme specific image stack which caused this bug and doesn't belong into browser.xul at all)?
(In reply to comment #8) > BTW: Is there any bug to track which parts of the visual refresh should better > not be landed on Trunk as is (such as the theme specific image stack which > caused this bug and doesn't belong into browser.xul at all)? In order to not break people's heads, the merge should make the trunk update to include all changes from the branch, "good idea" or not; then we should fix things as needed on the trunk.
Fixed on branch. /mozilla/browser/themes/winstripe/browser/browser.css 1.17.2.62
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Clearing blocking request
Flags: blocking-firefox2?
(In reply to comment #6) > (From update of attachment 238486 [details] [diff] [review] [edit]) > hover feedback might be nice, but not critical at all Sure, here you go!
Attachment #238549 - Flags: review?(mconnor)
Attachment #238549 - Flags: approval1.8.1?
Attachment #238549 - Flags: review?(mconnor)
Attachment #238549 - Flags: review+
Attachment #238549 - Flags: approval1.8.1?
Attachment #238549 - Flags: approval1.8.1+
Comment on attachment 238549 [details] [diff] [review] Adds hover bevels to Go and Search buttons in text mode >Index: winstripe/browser/browser.css >+toolbar[mode="text"] #go-button { >+ -moz-binding: url(chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton); >+ -moz-appearance: toolbarbutton; >+} Why is the -moz-binding rule necessary? Nothing overrides the base toolbarbutton rule from what I can see.
(In reply to comment #13) > >+toolbar[mode="text"] #go-button { > >+ -moz-binding: url(chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton); > >+ -moz-appearance: toolbarbutton; > >+} > > Why is the -moz-binding rule necessary? Nothing overrides the base > toolbarbutton rule from what I can see. In other words, the toolbarbutton is already bound to that binding by the toolbarbutton rules in xul.css (DOMi with a current branch build confirms that, it wouldn't work as a button otherwise), so it shouldn't be necessary to specify it again here.
(In reply to comment #14) > In other words, the toolbarbutton is already bound to that binding by the > toolbarbutton rules in xul.css (DOMi with a current branch build confirms that, > it wouldn't work as a button otherwise), so it shouldn't be necessary to > specify it again here. Curious. Before I added that line, the button grew to an unreasonable height, and re-applying the binding (perhaps to override a different rule?) was the simplest solution I found. But now I can't reproduce the problem; perhaps my build was out of date. However, I'm now realizing that the behavior I saw on Linux and thought was correct was in fact not right: the urlbar and searchbar stretch too tall in text mode. (It looks okay to my eye, but it doesn't match the other modes, so it's disconcerting.) So I'm withdrawing this second patch for FF2. (The bug still stays marked FIXED, since the background-image issue was fixed by the previous patch.)
Comment on attachment 238549 [details] [diff] [review] Adds hover bevels to Go and Search buttons in text mode I'm obsoleting Pam's patch to make it clear that it did not, and should not, go in.
Attachment #238549 - Attachment is obsolete: true
Attachment #238549 - Flags: review+
Attachment #238549 - Flags: approval1.8.1+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: