Closed
Bug 420414
Opened 16 years ago
Closed 16 years ago
on Vista, a menubutton which has focus and selection should not have a blue background
Categories
(Firefox :: Theme, defect, P2)
Tracking
()
RESOLVED
FIXED
Firefox 3
People
(Reporter: beltzner, Assigned: ehsan.akhgari)
References
Details
Attachments
(5 files, 1 obsolete file)
59.78 KB,
image/png
|
Details | |
57.03 KB,
image/png
|
Details | |
5.29 KB,
image/png
|
Details | |
19.37 KB,
image/jpeg
|
Details | |
1.86 KB,
patch
|
mconnor
:
review+
mconnor
:
approval1.9+
|
Details | Diff | Splinter Review |
Screenshots coming. Looks like we just need to override/remove an explicit background colour statement; transparent background is fine.
Reporter | ||
Comment 1•16 years ago
|
||
Er, that was the screenshot.
Updated•16 years ago
|
Component: Theme → XUL Widgets
Product: Firefox → Toolkit
QA Contact: theme → xul.widgets
Yes, very bad! menulist:focus > .menulist-label-box { background-color: transparent ! important; color: auto ! important; /* err.. auto? inherit? what's the right thing here? */ }
Flags: blocking1.9?
Reporter | ||
Comment 3•16 years ago
|
||
(In reply to comment #2) > menulist:focus > .menulist-label-box { > background-color: transparent ! important; > color: auto ! important; /* err.. auto? inherit? what's the right thing here? > */ > } inherit, I think ... at least, for me, auto made the text white when in the selected/collapsed state. I'll attach a screenshot. The only odd thing left is the focus ring colour, which seems to be tan, not black like everywhere else. I'm tempted to say we should find out where that's being painted and set the colour to be transparent ;)
Reporter | ||
Comment 4•16 years ago
|
||
Note the focus ring colour is a little strange ...
Yeah, though I think IE uses the same focus ring color, I think it's kind of a yellow? If we want something distinct we could set the focus to be the same color as the background was (the blue) maybe..
Comment 6•16 years ago
|
||
>If we want something distinct we could set the focus to be the same
>color as the background was (the blue) maybe..
Ideally we wouldn't show the focus ring at all, so we really don't want to make it more distinct.
Comment 7•16 years ago
|
||
A focus indicator is needed for accessibility and usability in general.
Comment 9•16 years ago
|
||
Vista natively uses a black focus ring on dropdowns as the screenshot illustrates. I think black would work fine, it's noticeable enough when tabbing through, and is the usual way of doing things throughout the rest of the OS.
Comment 10•16 years ago
|
||
>A focus indicator is needed for accessibility and usability in general. Yeah, what I meant to say was that ideally we wouldn't be showing the focus ring on mouse interactions (bug 418521).
Reporter | ||
Comment 11•16 years ago
|
||
While I agree with bug 418521, let's not make a hack fix for that just for a single XUL element. I never should have joked. Vlad: same colour as everywhere else, please, which seems to be black.
(In reply to comment #11) > While I agree with bug 418521, let's not make a hack fix for that just for a > single XUL element. I never should have joked. Vlad: same colour as everywhere > else, please, which seems to be black. You're asking the wrong person here, this is a theme css thing :)
Comment 13•16 years ago
|
||
Not sure if this is the same thing but on vista when dragging a favicon over a folder in the bookmark menu there is dark blue selection highlighting as well as the lighter blue vista selection. Also the selection seems to remain on the top 'bookmark this page' menu entry as well as being duplicated over the drop folder target. Screenshot following.
Comment 14•16 years ago
|
||
Comment 15•16 years ago
|
||
Does the resolution to Bug 418537 effect this in any way?
Nope, doesn't affect this.
Reporter | ||
Updated•16 years ago
|
Component: XUL Widgets → Theme
Flags: blocking1.9+
Product: Toolkit → Firefox
QA Contact: xul.widgets → theme
Target Milestone: mozilla1.9 → ---
Reporter | ||
Updated•16 years ago
|
Flags: blocking-firefox3+
Updated•16 years ago
|
Assignee: nobody → mcdavis941.bugs
Comment 17•16 years ago
|
||
I can't take Vista-specific bugs at the moment. Sorry. Setting back to unassigned.
Assignee: mcdavis941.bugs → nobody
Assignee | ||
Comment 18•16 years ago
|
||
Fix the problem on the aero theme.
Assignee | ||
Updated•16 years ago
|
Whiteboard: [has patch] [needs review mano]
Target Milestone: --- → Firefox 3
Comment 19•16 years ago
|
||
The 1px dotted border should probably change color too. We could probably get away with setting it to the same color as the text in the box, that way it'll almost always be black, but also show up in the same contrast as the text itself on any other theme.
Assignee | ||
Comment 20•16 years ago
|
||
(In reply to comment #19) > The 1px dotted border should probably change color too. We could probably get > away with setting it to the same color as the text in the box, that way it'll > almost always be black, but also show up in the same contrast as the text > itself on any other theme. This new patch draws the focus ring using ThreeDDarkShadow, which is the same color as the focus ring for a XUL button.
Attachment #313828 -
Attachment is obsolete: true
Attachment #313888 -
Flags: review?(mano)
Attachment #313828 -
Flags: review?(mano)
Comment 21•16 years ago
|
||
Comment on attachment 313888 [details] [diff] [review] Patch (v1.1) r+a=mconnor, thanks!
Attachment #313888 -
Flags: review?(mano)
Attachment #313888 -
Flags: review+
Attachment #313888 -
Flags: approval1.9+
Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Whiteboard: [has patch] [needs review mano]
Comment 22•16 years ago
|
||
mozilla/toolkit/themes/winstripe/global/jar.mn 1.50 mozilla/toolkit/themes/winstripe/global/menulist-aero.css 1.1
You need to log in
before you can comment on or make changes to this bug.
Description
•