View Quote
-
#7164 Up↑ /16 Down↓ [Report] 2013-12-03 16:03 GMT
<mfinkle> a big issue is not waiting for favicons to download from websites before displaying the other information
<shorlander> mfinkle: Possible to create a favicon service that does that async?
<mfinkle> shorlander, that's what we did
<shorlander> \o/
<mfinkle> but even that is complicated
<shorlander> Can we get that on desktop? :D
<mfinkle> cause you want to make a cache in memory too
<mfinkle> and store permanently in a DB
<mfinkle> and even then, you need it all to work async
<mfinkle> and then scrolling gets janky
<mfinkle> so you need to worry about threads
<mfinkle> and batching requests
<mfinkle> since you could have 20 to 30 list items
<mfinkle> but you don't want 20-30 requests for favicons
<mfinkle> then there is the sizing
<mfinkle> 16px is the norm, but that looks like ass on high dpi devices
<mfinkle> so you try to find larger images
<mfinkle> or make nicer upscaling tricks
<mfinkle> or use a colored background
<mfinkle> which needs a dominant color from the favicon
<shorlander> We should just make a custom set of favicon and display one at random for a website
<mfinkle> which needs to be found on a background thread cause it's not super fast to calculate
<mfinkle> i mentioned last week that if someone just looked at the amount of code and bugs dedicated to favicons, they might assume Fennec is a favicon management tool, not a web browser
Kindly hosted by jX and in no way affiliated with the Mozilla Foundation.