Closed
Bug 423718
Opened 17 years ago
Closed 17 years ago
Use native platform colors for URLs in the location bar autocomplete, make the line between rows lighter
Categories
(Firefox :: Theme, defect, P2)
Firefox
Theme
Tracking
()
RESOLVED
FIXED
Firefox 3
People
(Reporter: faaborg, Assigned: Mardak)
References
Details
(Keywords: polish, Whiteboard: [better with bug 426732])
Attachments
(20 files, 4 obsolete files)
(deleted),
image/png
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
image/gif
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
image/gif
|
Details | |
(deleted),
image/gif
|
Details | |
(deleted),
image/gif
|
Details | |
(deleted),
image/gif
|
Details | |
(deleted),
image/gif
|
Details | |
(deleted),
image/gif
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
patch
|
beltzner
:
review-
beltzner
:
ui-review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
beltzner
:
review+
beltzner
:
superreview+
beltzner
:
approval1.9+
|
Details | Diff | Splinter Review |
Here are the colors we should use on each platform for URLs in the location bar autocomplete:
OS X: (35,77,177) or #234db1
Vista: (0,102,204) or #0066cc
XP: (0,153,0) or #009900
For the line between items, on OS X I think the standard menu line is probably what we want to go with, at (228,228,228) or #e4e4e4
On windows we should pull a system color that we know is light in the default themes. I think ThreeDFace works the best.
I need input on what color to use on Linux, perhaps something out of the Tango color palette for the URL (http://tango.freedesktop.org/static/cvs/tango-art-tools/palettes/Tango-Palette.png) like the darkest Chameleon, the the middle sky blue? We could try ThreeDFace for the line to see if that looks ok.
Flags: blocking-firefox3?
Updated•17 years ago
|
Flags: blocking-firefox3? → blocking-firefox3+
Priority: -- → P2
Assignee | ||
Comment 1•17 years ago
|
||
A quick stab with the suggested colors.. hopefully I got the right jar.mn stuff. I've got a build going on tryserver.
Also, this patch is way deep in my stack, so the browser.css I copy/pasted has other stuff like keyword search styling, showing tags, and smaller title text.
Assignee: nobody → edilee
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•17 years ago
|
||
Assignee | ||
Comment 3•17 years ago
|
||
Reporter | ||
Comment 4•17 years ago
|
||
This time trying to pull it off of an underline, let's try #144fae
Assignee | ||
Comment 5•17 years ago
|
||
Assignee | ||
Comment 6•17 years ago
|
||
Reporter | ||
Comment 7•17 years ago
|
||
It's really hard to capture colors of text on os x, here is the underline when using #144fae. Anyway, I think this is close enough.
Assignee | ||
Comment 8•17 years ago
|
||
Assignee | ||
Comment 9•17 years ago
|
||
Assignee | ||
Updated•17 years ago
|
Attachment #310657 -
Attachment description: xp trunk, 009900 Face, 006600 LightShadow → xp trunk 336633 Shadow, 009900 Face, 006600 LightShadow
Reporter | ||
Comment 10•17 years ago
|
||
>006600 LightShadow
This one works well, what do you think of ThreeDFace vs LightShadow?
Assignee | ||
Comment 11•17 years ago
|
||
Assignee | ||
Comment 12•17 years ago
|
||
Assignee | ||
Comment 13•17 years ago
|
||
Assignee | ||
Comment 14•17 years ago
|
||
Assignee | ||
Comment 15•17 years ago
|
||
Related to bug 409974.. if we use the default background color instead of forcing our own (white?) to go with the native url colors, it could be hard to read.
Assignee | ||
Comment 16•17 years ago
|
||
os x: 144fae (attachment 310630 [details])
linux: 4e9a06 (dark chameleon)
xp: 006600 (attachment 310657 [details])
vista: 0066cc
border for all: ThreeDLightShadow
Attachment #310612 -
Attachment is obsolete: true
Comment 17•17 years ago
|
||
Comment 18•17 years ago
|
||
It's ironic that this bug is labeled "Use native platform colors", because your approach to pick rgb values is rather opposed to that. This is very bad for Windows (ignoring third-party themes and Royale, XP has three Luna color schemes and a load of Classic color schemes) and a showstopper on Linux (different distributions ship different themes). I don't know about OS X... you can probably get away with hard coding all colors; seems to be common practice for Pinstripe.
Comment 19•17 years ago
|
||
Would it be possible to make the line between rows only span about 90% of the width? like an HTML <hr> element, they don't connect to the sides. I'm guessing you would have to use something other than border-bottom for that.
Assignee | ||
Comment 20•17 years ago
|
||
(In reply to comment #19)
> Would it be possible to make the line between rows only span about 90% of the
> width?
Easier than you think. At least depending on how short you want it.
.autocomplete-richlistitem {
padding: 1px 2px;
border-bottom: 1px solid ThreeDLightShadow;
+ -moz-border-radius: 100%;
}
Make use of the border radius which just cuts off if there's no side borders.
Assignee | ||
Comment 21•17 years ago
|
||
Hahah.. oops. That wasn't expected.
Reporter | ||
Comment 22•17 years ago
|
||
>This is very bad for Windows (ignoring third-party themes and Royale, XP has >three Luna color schemes and a load of Classic color schemes)
XP doesn't change its icon set when you change OS themes, and we are basing these colors on the palette of the XP icon set (http://people.mozilla.com/~faaborg/files/granParadisoUI/icons/rfp/xpColors.gif). This color palette was designed to work well with the three luna themes. So the colors are native, they just aren't extracted.
Assignee | ||
Comment 23•17 years ago
|
||
(In reply to comment #17)
> (In reply to comment #15)
> > forcing our own (white?)
> see bug 417279
So what should we do if we're to specify those particular colors on each platform?
Comment 24•17 years ago
|
||
I was going to suggest we use Window for background, WindowText for title and Browser.anchor_color for the URL (since it's kind of like an anchor) but for one I don't think we can use browser.anchor_color in css? and 2, it looks a little odd.
Comment 25•17 years ago
|
||
(In reply to comment #22)
> XP doesn't change its icon set when you change OS themes, and we are basing
> these colors on the palette of the XP icon set
> (http://people.mozilla.com/~faaborg/files/granParadisoUI/icons/rfp/xpColors.gif).
> This color palette was designed to work well with the three luna themes.
Looks quite worthless without a word where the colors should be used. It's also clear that text isn't comparable to icons, since you can mix colors within a single icon so that it doesn't just disappear on a different background.
> So the colors are native, they just aren't extracted.
Right, so we shouldn't use them until they are.
Btw, #009900 is not going to work in high contrast mode.
Comment 26•17 years ago
|
||
It's slightly misusing a color, but how about ActiveCaption for URL text?
All the default high contrast themes in XP deal with this nicely. I don't know what the default ActiveCaption is on vista, but the default on XP looks decent.
Comment 27•17 years ago
|
||
(In reply to comment #26)
> It's slightly misusing a color, but how about ActiveCaption for URL text?
It's actually a background color. But I agree that misusing a native color (assuming it works with the themes that ship with XP and Vista) is better than hard-coding a color.
Anyway, the safest and most logical choice is GrayText.
Reporter | ||
Comment 28•17 years ago
|
||
Bugs 409974 and 423718 are both blocking+, yet they both want to change the color of URLs in the location bar autocomplete results. To resolve the issue, I've filed bug 425598 – All hard coded colors need to fall back to system colors for accessibility.
Comment 29•17 years ago
|
||
Reading this bug highlights one interesting point: you don't think about users who don't know about Microsoft guidelines for colors, and choose their own.
How can hard coding colors work with that?
Reporter | ||
Comment 30•17 years ago
|
||
>Reading this bug highlights one interesting point: you don't think about users
>who don't know about Microsoft guidelines for colors, and choose their own.
We won't be able to support detection of the OS theme with this release, but that is certainly something that we hope to do in the future, so we can also fall back to system colors to support other third party OS themes. Only a very small fraction of users currently use third party OS themes, so not supporting them isn't a huge disaster. Also, users with a third party OS theme can certainly switch to another Firefox theme, or even use userchrome.css hacks since the user clearly has an interest in modifying the overall appearance of their system.
Comment 31•17 years ago
|
||
(In reply to comment #30)
> >Reading this bug highlights one interesting point: you don't think about users
> >who don't know about Microsoft guidelines for colors, and choose their own.
>
> We won't be able to support detection of the OS theme with this release, but
> that is certainly something that we hope to do in the future, so we can also
> fall back to system colors to support other third party OS themes. Only a very
> small fraction of users currently use third party OS themes, so not supporting
> them isn't a huge disaster. Also, users with a third party OS theme can
> certainly switch to another Firefox theme, or even use userchrome.css hacks
> since the user clearly has an interest in modifying the overall appearance of
> their system.
>
Changing a color with the Control Panel Display window is certainly not the same as editing userChrome.css. And I wouldn't consider that as third party OS theme. It's only a color change!
And I wonder how can anyone measure how users choose their colors.
Comment 32•17 years ago
|
||
This is the
Comment 33•17 years ago
|
||
This is the UI that Windows offers to change its colors.
I think that is fairly easy for a user to change them.
Updated•17 years ago
|
Comment 34•17 years ago
|
||
maybe i'm missing something, but -moz-hyperlinktext seems like the appropriate color choice to me. that or GrayText. either of those is pretty much guaranteed to show up against Window.
Comment 35•17 years ago
|
||
-moz-hyperlinktext isn't guaranteed to show up. As long as it defaults to blue, we'd run into bug 371870.
Comment 36•17 years ago
|
||
(In reply to comment #35)
> As long as it defaults to blue
As opposed to a system color that is, which can of course be blue, too.
Comment 37•17 years ago
|
||
Once bug 409974 is resolved, you should be able to pick any color on Windows.
Assignee | ||
Comment 38•17 years ago
|
||
For landing after bug 409974. gnomestripe already has a color and leaving it as graytext. XP/Vista color for non-default theme is graytext.
per faaborg:
xp: #006600
vista: #0066cc
os x: #144fae
All platforms use ThreeDLightShadow for the line (gnomestripe already has it)
Attachment #310845 -
Attachment is obsolete: true
Attachment #315287 -
Flags: ui-review?(beltzner)
Attachment #315287 -
Flags: review?(beltzner)
Assignee | ||
Updated•17 years ago
|
Keywords: polish
Whiteboard: [has patch][need review beltzner][need bug 409974]
Comment 39•17 years ago
|
||
Wouldn't COLOR_HOTLIGHT be the correct color to use for Windows (AKA -moz-nativelinktext once bug 426732 is fixed)?
Comment 40•17 years ago
|
||
(In reply to comment #39)
> Wouldn't COLOR_HOTLIGHT be the correct color to use for Windows (AKA
> -moz-nativelinktext once bug 426732 is fixed)?
Yes, we should consider 1) using it instead of GrayText and 2) dropping the windows-default-theme special case once that bug is fixed.
Depends on: 426732
Reporter | ||
Comment 41•17 years ago
|
||
Can I see a screen shot of COLOR_HOTLIGHT text on XP and Vista? It is probably exactly what we want, but just want to make sure.
Comment 42•17 years ago
|
||
I for one am surprised the XP COLOR_HOTLIGHT isn't #0000FF
Comment 43•17 years ago
|
||
Nice. Gets my vote.
Assignee | ||
Comment 44•17 years ago
|
||
Here's a version that needs bug 426732 for -moz-nativelinktext.
Does it also work on linux?
Attachment #315782 -
Flags: ui-review?(beltzner)
Attachment #315782 -
Flags: review?(beltzner)
Assignee | ||
Updated•17 years ago
|
Whiteboard: [has patch][need review beltzner][need bug 409974] → [has patch][need review beltzner][can need bug 426732]
Comment 45•17 years ago
|
||
no change to the color on Luna.
One odd point of mention, the Hyperlink color is not something that can be changed by users on XP, but strangely can on Vista.
Linux support is still pending, I'm trying to find a GTK Widget that I can use to grab link-color
It does already work on OS X, but it's hard coded anyways, since we can't find any native color.
Comment 46•17 years ago
|
||
Linux support is now in on bug 426732, but my quick unscientific survey shows that the majority of the time we'll be defaulting to #0000EE. Either way the link-color support is there, and if Firefox makes use of it then it's possible we'll see the major distros specify a nice link-color in default themes at least.
Assignee | ||
Comment 48•17 years ago
|
||
Include gnomestripe changes.
Attachment #315287 -
Attachment is obsolete: true
Attachment #315782 -
Attachment is obsolete: true
Attachment #316698 -
Flags: ui-review?(beltzner)
Attachment #316698 -
Flags: review?(beltzner)
Attachment #315287 -
Flags: ui-review?(beltzner)
Attachment #315287 -
Flags: review?(beltzner)
Attachment #315782 -
Flags: ui-review?(beltzner)
Attachment #315782 -
Flags: review?(beltzner)
Assignee | ||
Comment 49•17 years ago
|
||
Comment on attachment 315287 [details] [diff] [review]
v2
This might not be a bad alternative if we don't get -moz-nativelinktext.
Attachment #315287 -
Attachment is obsolete: false
Attachment #315287 -
Flags: ui-review?
Attachment #315287 -
Flags: review?
Comment 50•17 years ago
|
||
Comment on attachment 315287 [details] [diff] [review]
v2
Need to use menuText for non-default themes. Sucks, as it breaks easy scan partitioning, but it's the safest option available to us.
Otherwise it's OK, and you can carry over review.
Attachment #315287 -
Flags: ui-review?
Attachment #315287 -
Flags: ui-review+
Attachment #315287 -
Flags: review?
Attachment #315287 -
Flags: review+
Updated•17 years ago
|
Whiteboard: [has patch][need review beltzner][can need bug 426732] → [has patch][better with bug 426732]
Comment 51•17 years ago
|
||
Comment on attachment 316698 [details] [diff] [review]
v2.2
This is the better approach, but until bug 426732 lands, I can't give it review. Re-request when the dependency clears?
Attachment #316698 -
Flags: ui-review?(beltzner)
Attachment #316698 -
Flags: ui-review+
Attachment #316698 -
Flags: review?(beltzner)
Attachment #316698 -
Flags: review-
Assignee | ||
Comment 52•17 years ago
|
||
Attachment #315287 -
Attachment is obsolete: true
Attachment #317145 -
Flags: approval1.9?
Comment 53•17 years ago
|
||
Comment on attachment 317145 [details] [diff] [review]
v2.3
a=beltzner, hm, what other flags can I give this?
Attachment #317145 -
Flags: superreview+
Attachment #317145 -
Flags: review+
Attachment #317145 -
Flags: approval1.9?
Attachment #317145 -
Flags: approval1.9+
Updated•17 years ago
|
Whiteboard: [has patch][better with bug 426732] → [has patch][has reviews][better with bug 426732]
Assignee | ||
Comment 54•17 years ago
|
||
http://hg.mozilla.org/cvs-trunk-mirror/index.cgi/rev/61e4231f14cb
http://hg.mozilla.org/mozilla-central/index.cgi/rev/61e4231f14cb
Checking in browser/themes/pinstripe/browser/browser.css;
/cvsroot/mozilla/browser/themes/pinstripe/browser/browser.css,v <-- browser.css
new revision: 1.148; previous revision: 1.147
done
Checking in browser/themes/winstripe/browser/browser-aero.css;
/cvsroot/mozilla/browser/themes/winstripe/browser/browser-aero.css,v <-- browser-aero.css
new revision: 1.4; previous revision: 1.3
done
Checking in browser/themes/winstripe/browser/browser.css;
/cvsroot/mozilla/browser/themes/winstripe/browser/browser.css,v <-- browser.css
new revision: 1.204; previous revision: 1.203
done
Checking in toolkit/themes/pinstripe/global/autocomplete.css;
/cvsroot/mozilla/toolkit/themes/pinstripe/global/autocomplete.css,v <-- autocomplete.css
new revision: 1.23; previous revision: 1.22
done
Checking in toolkit/themes/winstripe/global/autocomplete.css;
/cvsroot/mozilla/toolkit/themes/winstripe/global/autocomplete.css,v <-- autocomplete.css
new revision: 1.33; previous revision: 1.32
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: [has patch][has reviews][better with bug 426732] → [better with bug 426732]
Assignee | ||
Updated•17 years ago
|
Target Milestone: --- → Firefox 3
Comment 55•17 years ago
|
||
I was under the impression that the link color in awesomebar on linux would be changed at some point because it is so unreadable ATM (faint gray on white background with my theme). Is there some other bug open for this issue?
Comment 56•17 years ago
|
||
(In reply to comment #55)
> I was under the impression that the link color in awesomebar on linux would be
> changed at some point because it is so unreadable ATM (faint gray on white
> background with my theme). Is there some other bug open for this issue?
Not yet, but it would depend on bug 426732.
Comment 57•17 years ago
|
||
(In reply to comment #51)
> (From update of attachment 316698 [details] [diff] [review])
> This is the better approach, but until bug 426732 lands, I can't give it
> review. Re-request when the dependency clears?
This is now in bug 437358.
You need to log in
before you can comment on or make changes to this bug.
Description
•