No more Favicons in Firefox Global Menu Bookmarks subfolders

Bug #864511 reported by Xavier Guillot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Global menubar extension
Fix Released
High
Chris Coulson

Bug Description

Hello,

Since some days, in the global menu on Firefox 7 and Nightly 10, there are no more favicons visible in the sub-menus of the Bookmarks menu in the Global Menu, nothing appears before bookmark name, even if website has already been visited...

Revision history for this message
Xavier Guillot (valeryan-24) wrote :
Revision history for this message
Xavier Guillot (valeryan-24) wrote :

Correction : favicons are well displayed in global menu of Firefox 7, but not for daily mozilla ppa version (10.0 a1)...

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Yeah, I noticed this too. Not sure why this happens yet though, but it seems to be some change in the upstream imagelib code. I did a bit of preliminary debugging last week, and our icon loaders OnStopFrame handler just never gets called despite the fact that imgILoader::LoadImage returns success

Changed in globalmenu-extension:
assignee: nobody → Chris Coulson (chrisccoulson)
importance: Undecided → High
status: New → Triaged
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Ok, it seems that we're making an invalid assumption about the order of delivery of load and decode notifications, and we're cancelling image loading requests before they're decoded now. That's a relatively easy fix, thankfully

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

bzr commit -m "Don't cancel the imgIRequest in the OnStopRequest handler, as this might fire before OnStopFrame.
> There is no harm in tying the proxy request lifetime to the menuitems icon loader lifetime, as this actually keeps the real request object in
> the image loader cache (LP: #864511)" --fixes lp:864511
Committing to: /home/chr1s/src/globalmenu-extension/globalmenu-extension/
modified extensions/globalmenu/components/src/uGlobalMenuObject.cpp
Committed revision 263.

Changed in globalmenu-extension:
status: Triaged → Fix Committed
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Ok, this will be in tomorrows nightly builds, assuming they actually build this time. Please report back if there are still issues with icons, but it seems to do the trick here

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

The nightly builds are building successfully again now, and this fix is in the latest. Would be great if you could test and see if it resolves it for you

Revision history for this message
Xavier Guillot (valeryan-24) wrote :

Yes, it's corrected, favicons are well back in global menu of Firefox 10 and in sub-menus, thanks !

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Excellent, thanks for testing

Changed in globalmenu-extension:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.