Closed Bug 873243 Opened 11 years ago Closed 11 years ago

Default favicon shows up in awesomescreen before real favicons load

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Margaret, Assigned: ckitching)

Details

(Keywords: polish, reproducible)

We should see if we can avoid showing any image until we have the real favicon, instead of showing the default favicon then swapping in the real favicon.
Agree 100%
This would be an extremely simple tweak to the work I'm currently doing to the Favicon system. What's the current feeling about this? Do we still want this, or has the new about:home made you change your minds?
How exactly should "No image" be implemented? A blank space of the same size that the image would be, or nothing there at all, with the text reflowing into the space? (It typically doesn't take very long before the real icon pops into existence)
Also, sometimes, but rarely, sites have no Favicon at all - should such sites show the default Favicon, or still just blank? 
Personally I'm a fan of the default Favicon. What's the plan?
Assignee: nobody → ckitching
Flags: needinfo?(ibarlow)
(In reply to Chris Kitching [:ckitching] from comment #2)

> Also, sometimes, but rarely, sites have no Favicon at all - should such
> sites show the default Favicon, or still just blank? 
> Personally I'm a fan of the default Favicon. What's the plan?

Yes, we still want the default favicon if the site doesn't have an icon. This bug was filed about the fact that when we *do* have an for a site, sometimes we show the default favicon before replacing it with the real favicon.

We should verify that this is still an issue with the new about:home. I haven't really noticed this recently, but it may still exist.
(In reply to Chris Kitching [:ckitching] from comment #2)
> This would be an extremely simple tweak to the work I'm currently doing to
> the Favicon system. What's the current feeling about this? Do we still want
> this, or has the new about:home made you change your minds?
> How exactly should "No image" be implemented? A blank space of the same size
> that the image would be, or nothing there at all, with the text reflowing
> into the space? (It typically doesn't take very long before the real icon
> pops into existence)

I would suggest simply a blank space of the same size of the image. So we don't reflow text or anything, we just wait a moment for the favicon to appear.

> Also, sometimes, but rarely, sites have no Favicon at all - should such
> sites show the default Favicon, or still just blank? 

In that case, I would suggest showing the default favicon.
Flags: needinfo?(ibarlow)
(In reply to :Margaret Leibovic from comment #3)
> Yes, we still want the default favicon if the site doesn't have an icon.
> This bug was filed about the fact that when we *do* have an for a site,
> sometimes we show the default favicon before replacing it with the real
> favicon.
> 
> We should verify that this is still an issue with the new about:home. I
> haven't really noticed this recently, but it may still exist.

This happens in the history/bookmarks/other things that use TwoLinePageRow pages. If you go to a page, then go back to about:home, you get to see the default Favicon be replaced (When the page finishes downloading) with the real Favicon.
Dupe of Bug 923218 ?
Flags: needinfo?(margaret.leibovic)
(In reply to Richard Newman [:rnewman] from comment #6)
> Dupe of Bug 923218 ?

Isn't bug 923218 just about the browser toolbar? This bug was filed about the awesomescreen lists, although it looks like this issue was resolved by the work lucasr did in bug 905685, and should maintain resolved with the new favicon cache work that landed. So I'll mark this WORKSFORME.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(margaret.leibovic)
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.