Closed Bug 286516 Opened 20 years ago Closed 19 years ago

Location bar background is permanently yellow in color for secure sites

Categories

(Camino Graveyard :: Location Bar & Autocomplete, enhancement)

PowerPC
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Camino1.6

People

(Reporter: bugzilla-graveyard, Assigned: torben)

References

()

Details

Attachments

(1 file, 3 obsolete files)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050314 Camino/0.8+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050314 Camino/0.8+

It would be wonderful if there were a preference to set the background colour of
the location bar (rather than programmatically fixing it at yellow).

Reproducible: Always

Steps to Reproduce:
1. Visit https URL.
2. Notice yellow background that cannot be changed.
Oh, btw, I don't care if there's a GUI for it or not. Probably best if this
remains a geeky hidden pref.

cl
why you'd want to turn off the indicator that the page is secure is beyond me,
but a hidden pref is prolly ok....
Target Milestone: --- → Camino1.2
Actually, I was thinking a different colour, rather than hiding it entirely,
although it seems <a
href="http://forums.mozillazine.org/viewtopic.php?t=234080">some people don't
like it at all</a>. *shrug*

cl
Made a new (hidden) preference "browser.urlbar.secure_background_color",
default is yellow ("#FFFFC6").
I've never seen an UNCO that has a target and a patch :-) so setting this to
NEW.  Pinkerton didn't seem to indicate it was a WONTFIX in his comment 2.

Torben, if your patch has been tested and is ready for review, set the review
flag  on it and target one of the Camino devs besides Pinkerton (who only does
SRs)--smfr, Josh, Geoff, Ludovic, others I'm forgetting....
Status: UNCONFIRMED → NEW
Ever confirmed: true
i'd rather have it be 'on/off' than a color pref. you either want the url bar
colored or you don't. no need to confuse the code with changing the color too.
I don't see much reason *not* to allow setting the colour. As I mentioned on
Mozillazine, colour-blind people (who don't notice the padlock icon, which is a
different issue entirely -- IMO it would be better if the padlock icon replaced
the favicon proxy on secure sites) may wish to set a more noticeable colour.

cl
If there is a typo in the color the URL bar will be black. Same if the
preference is missing.
Attached patch Update patch (obsolete) — Splinter Review
Update patch, moved the default value into the code, now gives the default if
the preference is missing or is not a string. You still get the black
background if you set the preference to a string that is not a legal color
value (eg. "white" and not "#FFFFFF"). However, I belive this is a bug in the
getColorPref code, it should not return success if the value is invalid. I will
fill a bug for that.

Besides, anyone that sets a hidden pref should know to remove it if something
goes wrong.
Attachment #177982 - Attachment is obsolete: true
For whether to make this "on/off" rather than a color option, I really don't
care either way. I will try to make an "on/off"-patch to compare before I ask
for review.
The IMHO erratic behaviour of getColorPref mentioned in comment 9 is filled as
bug 287083.
might i mention that "just add a hidden pref" often turns into much more dev
work than anticipated. This is yet another data point where "what could a hidden
pref possibly hurt?" turns into additional dev complexity.
Attached patch Patch for "on/off" preference (obsolete) — Splinter Review
An "on/off" patch was far more easy, I vote for this. Note that this removes
both the background color and the lock icon from the URLbar (it is still in the
statusbar).

> might i mention that "just add a hidden pref" often turns into much more dev
> work than anticipated. This is yet another data point where "what could a 
> hidden pref possibly hurt?" turns into additional dev complexity.

Yup. But at least I found something that anoyed me enough to build Camino
myself (having finally got a machine for my own that can run OS X also helps).
Still think bug 287083 should be fixed (I have attached a patch) even though it
is not need for the "on/off" pref.
Assignee: pinkerton → torben
Attachment #178122 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #178144 - Flags: review?
our goal is to eventually allow the user to hide the status bar. if so, we
shouldn't allow them to then hide the only visible indication that the page is
secure (the lock icon in the url bar).
OK, only remove the background color but still show the lock.
Attachment #178144 - Attachment is obsolete: true
Attachment #178161 - Flags: review?
Attachment #178144 - Flags: review?
I think we should WONTFIX this.
(In reply to comment #14)
> our goal is to eventually allow the user to hide the status bar. if so, we
> shouldn't allow them to then hide the only visible indication that the page is
> secure (the lock icon in the url bar).

Isn't the page status also indicated by the lock at the bottom right of the
window? Or is that going bye-bye also? Just wondering.
(In reply to comment #17)
> (In reply to comment #14)
> > our goal is to eventually allow the user to hide the status bar. if so, we
> > shouldn't allow them to then hide the only visible indication that the page is
> > secure (the lock icon in the url bar).
> 
> Isn't the page status also indicated by the lock at the bottom right of the
> window? Or is that going bye-bye also? Just wondering.

That is the status bar.
(In reply to comment #16)
> I think we should WONTFIX this.

I'm with Simon. This should be WONTFIXed. If it bothers someone that much, they
can build Camino with the change made. ;)
Should it switch to a more muted (but still different/alerting) color when
people use OS X's Graphite theme?
(In reply to comment #20)
> Should it switch to a more muted (but still different/alerting) color when
> people use OS X's Graphite theme?

Graphite changes system controls but does not change toolbar look in most
applications.
(In reply to comment #19)
> (In reply to comment #16)
> > I think we should WONTFIX this.
> 
> I'm with Simon. This should be WONTFIXed. If it bothers someone that much, they
> can build Camino with the change made. ;)

I concur; as this bug now stands, it really should be WONTFIX (sorry Chris).  I think the colored location bar was one of the most user-friendly and powerful advances in security UI to date.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
Comment on attachment 178161 [details] [diff] [review]
Only removes the background color, keeps the lock

Removing review request on WONTFIXed bug.
Attachment #178161 - Flags: review?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: