Closed
Bug 115357
Opened 23 years ago
Closed 23 years ago
Favicon displayed blank
Categories
(SeaMonkey :: UI Design, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla0.9.8
People
(Reporter: nightfly, Assigned: Biesinger)
References
(Blocks 1 open bug, )
Details
Attachments
(2 files)
1.54 KB,
patch
|
pavlov
:
review+
tor
:
superreview+
|
Details | Diff | Splinter Review |
302 bytes,
image/x-icon
|
Details |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.6+) Gecko/20011214 BuildID: 2001121403 Browsing to mentioned URL shows a blank favicon in the bookmark-menu and the url-bar instead of the expected linux penguin like IE does. http://lwn.net/favicon.ico seems to be a valid icon, tough. Reproducible: Always Steps to Reproduce: Browse to http://lwn.net/ Actual Results: Blank icon Expected Results: Linux penguin icon
Comment 1•23 years ago
|
||
Confirming. I see this on Win2K, build 2001121103 as well. I'm guessing this is a dupe, but not sure.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•23 years ago
|
QA Contact: sairuh → claudius
Assignee | ||
Comment 2•23 years ago
|
||
I think this should be a dup of 110077
Comment 3•23 years ago
|
||
Not sure it's a dup of bug #110077 exactly -- lwn.net actually has a apparently-valid favicon.ico as mentioned above. #110077 seems to be about invalid favicon.ico files, which isn't exactly a mozilla bug.
Reporter | ||
Comment 4•23 years ago
|
||
Just loaded LWN.NETs icon into my Visual C++ IDE. It has some pixels spread over the upper half of the icon that are set as transparent (and not the whole background). Maybe Mozilla has issues with transparent parts of icons?
Comment 5•23 years ago
|
||
I downloaded the favicon.ico from lwn.net and put it on a page of my own, and it still comes up blank. I'm not an expert the structure of ico files, but I think it's likely the file is invalid somehow, and that despite my earlier comment, this really is a dup of #110077. The alternative is that Moz's ico renderer is missing some valid-but-atypical ico file quirk...
Comment 6•23 years ago
|
||
Hmm, the Visual C++ resource editor will open the file okay, but Windows Explorer won't show the correct image, and ThumbsPlus can identify it as a 16x16 4bpp icon image, but can't display it, either. This makes it sound like the file itself isn't completely right.
Comment 7•23 years ago
|
||
I don't use That Other Browser (oh, excuse me, Internet interaction technology or whatnot) very much, but today I tried it, and I can report that the lwn.net icon doesn't work in IE 5.5 SP2 either.
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 10•23 years ago
|
||
OK. This icon is not really valid, it misses some bytes at the end. (at least the ICO Decoder doesn't get them). The missing bytes only contain transparency data. So I'll attach a patch to display the image even if some transparency data is missing; displaying the corresponding pixels opaque.
Assignee | ||
Comment 11•23 years ago
|
||
Also removes an unnecessary null check (it's the only place where mObserver is null checked, so there's not much point in doing it here. If mObserver is null, the decoder will crash earlier).
Assignee | ||
Comment 12•23 years ago
|
||
adding keywords, setting target milestone cc'ing pavlov - could you please review?
Comment 13•23 years ago
|
||
If Explorer and IE aren't showing the icon, shouldn't we flog LWN on the problem? It seems like trying to work with icons that don't work in other browsers is following a IE-like behavior of accepting buggy data and trying to work with it, instead of giving the webmaster the idea that HIS data is broken and not the browser. We've taken a stance on this with many HTML issues (like TITLE vs. ALT).
Assignee | ||
Comment 14•23 years ago
|
||
The difference here is that Icon files are generated by programs, not by humans. So most likely lwn.net is not to blame for the invalid icon; at best, the program generating it is. Maybe the reason is even a transmission error. In my opinion, we should be not as strict with images as we are with HTML code. Besides, other invalid icons are also displayed by Mozilla.
Comment 15•23 years ago
|
||
As a data point, IE 6.0 does display this icon.
Comment 16•23 years ago
|
||
For the record, I just sent LWN a quick note about this and the bug number. Maybe someone else did they same earlier.
Assignee | ||
Comment 17•23 years ago
|
||
I'm attaching lwn.net's favicon here, in case they change it to a valid one.
Comment 18•23 years ago
|
||
Comment on attachment 63014 [details] [diff] [review] Suggested Patch r=pavlov
Attachment #63014 -
Flags: review+
Comment 19•23 years ago
|
||
Comment on attachment 63014 [details] [diff] [review] Suggested Patch sr=tor
Attachment #63014 -
Flags: superreview+
Comment 20•23 years ago
|
||
a=blizzard on behalf of drivers for 0.9.8
Keywords: mozilla0.9.8 → mozilla0.9.8+
Assignee | ||
Comment 21•23 years ago
|
||
Fix checked into the trunk by timeless. marking fixed
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 22•23 years ago
|
||
I don't see this in bonsai. Are we sure it made it in?
Comment 23•23 years ago
|
||
sorry. I see it on tinderbox now.
Comment 24•23 years ago
|
||
Both the attachment and the live icon at lwn.net load for me, Linux 2002011806. The background is white, not transparent. I assume this is Their Problem.
Assignee | ||
Comment 25•23 years ago
|
||
Yes, the icon is not transparent; this is lwn.net's fault.
Comment 26•23 years ago
|
||
For the record -- the response I got to e-mail I sent to lwn.net awhile ago: I picked it up some years ago from somewhere.. Everytime I try to make the shortcut icon work, I run into difficulties, it just never wants to do it for me. Don't know what's up. My inclination, at the moment, is to delete the file and just forget about the whole thing... Thanks, jon
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•