Open
Bug 418144
Opened 17 years ago
Updated 11 months ago
Favicons are not affected by a hard refresh
Categories
(Toolkit :: Places, defect, P5)
Toolkit
Places
Tracking
()
NEW
People
(Reporter: wikibugs, Unassigned)
References
Details
(Keywords: polish)
Attachments
(1 file)
20.07 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Favicons are currently not affected by a hard refresh. But they should be. To reproduce, just create an html with a favicon, load the page, change the favicon and do a hard refresh.
Reproducible: Always
Updated•17 years ago
|
Component: General → Bookmarks
QA Contact: general → bookmarks
Version: unspecified → 2.0 Branch
Comment 1•16 years ago
|
||
I'm experiencing this in Firefox 3.0.1 as well, including the case that a favicon.ico was added to the root of a site since the last time I loaded a page on that site.
I have the close the browser completely and re-open it to force a favicon refresh.
Updated•16 years ago
|
Flags: blocking-firefox3.1?
Updated•16 years ago
|
Flags: blocking1.9.0.2?
Comment 2•16 years ago
|
||
This is a really old request, and the canonical dupe is bug 240795, though that report seems to sort of gloss over the fact that Shift-Reload should update the cached favicon.
Doesn't block 1.9.0.2, nor is it particularly needed for the branch, but we might want to revisit this for 1.9.1 as a long-standing polish issue.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking1.9.0.2? → blocking1.9.0.2-
Comment 3•16 years ago
|
||
Not going to block the 3.1 release on this. Marking wanted.
Flags: wanted-firefox3.1+
Flags: blocking-firefox3.1?
Flags: blocking-firefox3.1-
Updated•16 years ago
|
Target Milestone: --- → Firefox 3.1
Updated•16 years ago
|
Target Milestone: Firefox 3.1 → ---
Comment 4•16 years ago
|
||
patch splitted from bug 480873, toolkit implementation (a full browser impl could be possible too)
Comment 5•16 years ago
|
||
As I have said before, using the mForceReloadIconPages hash seems to be a clumsy, expensive and unreliable way of storing a boolean state that could be kept by the caller and then passed in the aForceReload argument to SetAndLoadFaviconForPage as required; I haven't checked but it is also likely that callers already have access to this state from progress listener or load group flags.
We probably still need the ability to pass null to setFaviconUrlForPage to remove an icon - but that may bug 434969.
[I also suspect - but I am in unknown territory - that, if forcing reload, flags need to be set on the fetch of an icon to ensure that the browser cache copy is rechecked with the server.]
Updated•15 years ago
|
Flags: wanted-firefox3.5+ → wanted-firefox3.6+
Comment 6•13 years ago
|
||
Still present in version 4.0.1 (Windows).
Also still present in FF 5.0 running on OpenSuse 11.4. Web server access logs shows that there's no request for the favicon.ico file when the HTML header contains '... link type="image/x-icon" ...' so I presume it's taken from a cache.
Comment 8•13 years ago
|
||
Favicons in Panorama also do not refresh, but that should be a separate bug.
Updated•9 years ago
|
Priority: P3 → --
Updated•9 years ago
|
Priority: -- → P4
Comment 11•9 years ago
|
||
The problem still exists in Firefox 44.0b4.
Updated•8 years ago
|
Priority: P4 → P5
Comment 12•8 years ago
|
||
What is the reason for the priority downgrade to "we basically don't ever want this"? https://wiki.mozilla.org/Bugzilla:Priority_System
FYI, this still exists in 49.0.2.
Comment 13•8 years ago
|
||
(In reply to benshadwick from comment #12)
> What is the reason for the priority downgrade to "we basically don't ever
> want this"? https://wiki.mozilla.org/Bugzilla:Priority_System
P4 is currently unused, so it's not really a downgrade, that page is obsolete and wrong.
Comment 15•7 years ago
|
||
Happy 10th anniversary, embarrassing favicon refresh bug!
From the latest dupe, apparently you can force a refresh with a Browser Console command: PlacesUtils.favicons.expireAllFavicons();
Comment 16•7 years ago
|
||
Possibly related bugs:
Bug 333516
Bug 627046
Bug 699785
Bug 1230945
Bug 1253407 (see comments 8 & 9)
Bug 1417855
Comment 19•7 years ago
|
||
I tried the browser console command "PlacesUtils.favicons.expireAllFavicons();" followed by another CTRL+SHIFT+R but I'm still stuck with the old favicon...
Surely it's not that hard to get rid of the favicon during a hard refresh?
Comment 21•7 years ago
|
||
I've successfully forced Firefox to reload a favicon for a site that was showing no favicon at all in the tab bar by doing the following in the browser console:
const newURI = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService).newURI;
PlacesUtils.favicons.removeFailedFavicon(newURI("https://mysite.example.com/favicon.ico"))
and then reloading the tab.
(Reminder for new people like me until very recently: to enter commands in the browser console you first have to set devtools.chrome.enabled to true in about:config and restart Firefox. Once you do that, the browser console you get with Ctrl+Shift+J gets an input box at the bottom.)
(I'm rather unfamiliar with Firefox internals and cannot say if there's an easier way to call the newURI() method. If there is, I failed to find it.)
Comment hidden (metoo) |
Updated•2 years ago
|
Severity: normal → S3
Comment 25•2 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 8 duplicates and 13 votes.
:mak, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Flags: needinfo?(mak)
Comment 26•2 years ago
|
||
The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.
Flags: needinfo?(mak)
Updated•11 months ago
|
Component: Bookmarks & History → Places
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•