Closed Bug 421374 Opened 17 years ago Closed 3 years ago

tab's site icon for "new" page should match (be the same opacity) as it is in the location bar

Categories

(Firefox :: Tabbed Browser, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: adelfino, Unassigned)

References

Details

(Keywords: polish, Whiteboard: [polish-easy][polish-visual][polish-p1])

Attachments

(4 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5pre) Gecko/2008030610 Minefield/3.0b5pre
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5pre) Gecko/2008030610 Minefield/3.0b5pre

The location bar uses a semi-transparent page icon for a new page, IMO, the same should be used in a new tab.

See screenshot.

Reproducible: Always
Version: unspecified → Trunk
Attachment #307805 - Attachment mime type: image/svg+xml → image/png
Confirmed with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9pre) Gecko/2008041104 Minefield/3.0pre ID:2008041104
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Use the way of showing a "new" page that's used in location bar, in tab bar → tab's site icon for "new" page should match (be the same opacity) as it is in the location bar
Beyond consistency (I never noticed this discrepancy until now), a motivation for changing this would be that reducing the opacity for new blank tabs would have allow the user to quickly distinguish between tabs that are empty and tabs that have loaded a page that doesn't have a favicon.
Kevin, something which could be made with a next proto version on OS X?
I just finished taking a quick look at how one might implement this for Windows, and it'll require mucking around in browser.js--which takes it out of the realm of just a simple theme change.
Component: Theme → Tabbed Browser
QA Contact: theme → tabbed.browser
Keywords: polish
Whiteboard: [polish-easy][polish-visual]
Attached patch v1 (deleted) — Splinter Review
Guard against switching to the faded/less opaque version the same (but opposite) way that we check if we should use the defaultFavicon.
Assignee: nobody → edilee
Status: NEW → ASSIGNED
Attachment #347457 - Flags: ui-review?(mconnor)
Attachment #347457 - Flags: review?(mconnor)
Attached image screenshot of v1 (obsolete) (deleted) —
Well that's odd. Apparently the tab icons got changed too. :p I suppose that's an undesired sideeffect.
Attached image real screenshot of v1 (deleted) —
False alarm. :) My mouse happened to be over the tab when taking the screenshot.

(Thought it was weird that that one line could change tab opaqueness. :p)
Attachment #347458 - Attachment is obsolete: true
Attachment #347457 - Flags: ui-review?(mconnor)
Attachment #347457 - Flags: ui-review?(faaborg)
Attachment #347457 - Flags: review?(mconnor)
Attachment #347457 - Flags: review?(gavin.sharp)
What does v1 do exactly?  Prevent the icon from ever being faded?
For the icon in the urlbar, it won't be faded if it's showing the generic favicon.
Attachment #347457 - Flags: ui-review?(faaborg) → ui-review+
Comment on attachment 347457 [details] [diff] [review]
v1

(In reply to comment #12)
> For the icon in the urlbar, it won't be faded if it's showing the generic
> favicon.

We explicitly implemented that behavior to distinguish "loaded" vs. empty/edited location bars, and have code in browser.js to support it. If we're changing our minds about what a faded icon means we should just adjust that logic in URLBarSetURI (not have validity depend on a non-blank value). I'm not sure that's what we really want to do, though - seems like it would be better to fade out the icons of unloaded tabs per comment 3 / comment 5.
Attachment #347457 - Flags: review?(gavin.sharp) → review-
>We explicitly implemented that behavior to distinguish "loaded" vs.
>empty/edited location bars

I don't have an incredibly strong opinion on this, but in general I think the reason I don't like the faded icon is that it conveys two pieces of information:  pageness, and not loaded.  I get that this was the intention, but the disabled appearance seems a little odd right next to the location bar that has the focus (clearly not disabled).

Just showing the default favicon only coveys once piece of information "pageness," so conceptually it is slightly less to think about. Having good visibility of system status and feedback is of course important, but in this case the small amount of extra complexity of loadedness feels excessive, since it is self apparent that about:blank is not currently loading, and if it has loaded is kind of a philosophical argument :)

>seems like it would be better
>to fade out the icons of unloaded tabs per comment 3 / comment 5.

yep, if people want to keep the faded appearance we should just make it consistent.
Attachment #347457 - Flags: review- → review?(gavin.sharp)
Comment on attachment 347457 [details] [diff] [review]
v1

Re-requesting review to simplify the interface, and to avoid the appearance of a disabled state.
Attachment #347457 - Flags: review?(gavin.sharp) → review-
Comment on attachment 347457 [details] [diff] [review]
v1

As I tried to explain in comment 13, this patch is wrong no matter what we choose to do. If we want the equivalent of this patch's behavior, we should change the URLBarSetURI code as I described in comment 13.
faaborg, could you summarize what the user experience should be when this bug gets fixed? For a given tab, there's up to 2 favicons shown -- in the tab and in the location bar. Right now, any unfocused tab will show a faded favicon in the tab and any focused (or hovered) tab will show an unfaded favicon in the tab.

I'm guessing this bug covers the case of a focused tab, so we'll be seeing both the location bar favicon and the current tab's favicon.

For the following situations, what should happen to the 2 favicons (url/tab)? Here's what happens now..

page has favicon: solid favicon url, solid favicon tab
page no favicon: solid default url, solid default tab
empty url (about:blank): faded default url, solid default tab
edited url: faded default url, solid default tab
(In reply to comment #17)
> page has favicon: solid favicon url, solid favicon tab
> page no favicon: solid default url, solid default tab
> empty url (about:blank): faded default url, solid default tab
> edited url: faded default url, solid default tab

it's "edited url: faded default url, solid favicon tab".
I suggest that in all situations where we use a default favicon we do not fade it (rationale in comment #14) although I don't have a very strong opinion.
In other words, always show a solid favicon in the location bar?

Potentially down the line if we were to show the favicon of the currently selected entry in the autocomplete, would that be solid or faded? (User typed in a word -> solid default favicon.. then the user presses down to an entry with a favicon -> show favicon of the page solid/faded?)
This bug's priority relative to the set of other polish bugs is:
P1 - Polish issue that appears in the main window, or is something that the user may encounter several times a day.

this icon appears in the main window
Whiteboard: [polish-easy][polish-visual] → [polish-easy][polish-visual][polish-p1]

This issue no longer applies to the latest theme.

Assignee: edilee → nobody
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: