After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 578575 - Most Favicons in Epiphany Not Appearing
Most Favicons in Epiphany Not Appearing
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Interface
2.26.x
Other All
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-10 03:53 UTC by Jamin Thornsberry
Modified: 2009-12-06 17:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Check for new icon mimetype (576 bytes, patch)
2009-05-21 14:45 UTC, Peter Bui
none Details | Review
Check for new icon mimetype (576 bytes, patch)
2009-05-21 14:48 UTC, Peter Bui
none Details | Review

Description Jamin Thornsberry 2009-04-10 03:53:02 UTC
Please describe the problem:
Most websites (such as Google, Facebook, Youtube, etc.) have no favicon shown in either the bookmarks menu or the address bar. This problem is in no way changed by the favicon fallback plugin. Some websites, though, such as GNOME-Look and Launchpad, have favicons that do show up. I've noticed this bug only in the 2.26 version of Epiphany.

Steps to reproduce:
1. Go to http://www.google.com/
2. Look at address bar.
3. Oh look, no favicon!

Actual results:
No favicon appears

Expected results:
Same

Does this happen every time?
Always

Other information:
Comment 1 Janvitus 2009-05-05 13:58:47 UTC
Same bug here, also on Epiphany-Webkit 2.27.1.
Comment 2 Peter Bui 2009-05-11 13:23:22 UTC
I've been experiencing the same thing.  Once I clear my cache, most of my favicons disappear.  However, I found a trick.

If you close epiphany and then open up ~/.gnome2/epiphany/ephy-favicon-cache.xml and change all the lines as follows:

<property id="6" value_type="gboolean">1</property>
<property id="7" value_type="gint">61</property>

to

<property id="6" value_type="gboolean">0</property>
<property id="7" value_type="gint">60</property>

Then restart epiphany, all the favicons will come back.  Not sure why this works, but it is possible that these settings are not saved or set properly during the initial loading.

Also, as another possible probem source, if you look at the icons under ~/.gnome2/epiphany/favicon_cache, the ones that do work such as Launchpad or GNOME appear to be PNG formatted files, while the others are ICO formatted.  I'm not sure why this would make a difference, but it appears that all of the ICOs do not work, bu the PNGs do.  Perhaps setting those properties tricks epiphany into thinking the ICOs are PNGs (or some other acceptable format) and that's why they begin to work.
Comment 3 Peter Bui 2009-05-11 13:31:47 UTC
Ugh.  I made a mistake above.  It should be:

<property id="6" value_type="gboolean">0</property>
<property id="7" value_type="gint">61</property>

to

<property id="6" value_type="gboolean">1</property>
<property id="7" value_type="gint">60</property>
Comment 4 Janvitus 2009-05-12 12:02:37 UTC
Workaround seem to be working on some sites, not all.
Comment 5 Peter Bui 2009-05-21 14:45:57 UTC
Created attachment 135109 [details] [review]
Check for new icon mimetype

I think the problem is that the mimetype database was updated to report icons as "image/vnd.microsoft.icon" instead of "image/x-ico".  The attached patch adds a check for the former and it appears to be working for me.
Comment 6 Peter Bui 2009-05-21 14:48:29 UTC
Created attachment 135110 [details] [review]
Check for new icon mimetype

I think the problem is that the mimetype database was updated to report icons as "image/vnd.microsoft.icon" instead of "image/x-ico".  The attached patch adds a check for the former and it appears to be working for me.
Comment 7 Xan Lopez 2009-07-21 13:27:09 UTC
I have pushed this to master (f016ecc3cba44113df9641d6a3dceab9a14751ec), but keep in mind that favicons are not working at the moment with ephy/webkit. Thanks!