Comment #15 on issue 7618 by [email protected]: App shortcuts: Black Square is shown as favicon for no favicon webpages (favicon not visible). http://code.google.com/p/chromium/issues/detail?id=7618
Scott is right that this is caused by the fullly transparent favicon on money.cnn.com. MSDN is vague about the alpha channel in a 32bpp bitmap. It has a bV5AlphaMask in BITMAPV5HEADER but still claims "The high byte in each DWORD is not used" (http://msdn.microsoft.com/en-us/library/dd183381(VS.85).aspx). What happens in this bug is when an icon is created with all alpha channel values zero, Windows will use the mask bitmap. In our case, we mark all pixels opaque and as a result we get the black square. A proper fix would be to always generate the correct mask bitmap from alpha channel. But this is like punish 99.99% of the icon images for this bad one. Another way is to force at least one pixel has alpha 1 in the image. This will trick Windows to respect our alpha values. Either way is not ideal though. Any better ideas? -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs
