Closed Bug 169477 Opened 23 years ago Closed 23 years ago

favicon color palette reversed or too red

Categories

(Core :: Graphics: ImageLib, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla1.2beta

People

(Reporter: antitux, Assigned: Biesinger)

References

Details

(Keywords: regression)

Attachments

(3 files)

favicons on most sites are getting their colors reversed by netscape, and showing up incorrectly on this morning's builds. I've so far seen this behaviour on the following sites: http://home.netscape.com http://my.netscape.com http://www.yahoo.com http://www.cnn.com http://antitux.net
*** Bug 169478 has been marked as a duplicate of this bug. ***
Comments from dupe: Lot of color problems with favicons with today build. http://www.cnn.com/ (all blue) http://www.cbc.ca/ (all blue) http://www.google.com/ favicon are looking weird... http://bugzilla.mozilla.org/ is OK. Perhaps related to bug 116808 Mozilla 1.2b Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.2b) Gecko/20020918
Summary: favicon colors reversed. → favicon color palette reversed or too red
I can verify this on Solaris Sparc 2.7 with the 2002091822 nightly build. http://www.heise.de/favicon.ico should be blue but it's red. This could be big-endian issue.
I'm seeing the exact opposite on windows, linux, macosx, and macos9. everything's blue.
More messed up favicons in nightly 20020918. I'm using OS X 10.2. http://slashdot.org has turned an ugly green-brown, and my 5 color apple icon at http://uyf.tripod.com has gone sour.
On Linux, BuildID:2002091721 is OK. But, BuildID:2002091804 is weird. I think that the difference among several hours caused this problem. Regression of bug 168048?(See comment #17)
I see both effects described in comment 5, but yahoo and cnn don't load favicons for me, with today or yesterdays build. Linux x86 (so it's not endian, it seems).
If favicons don't load add user_pref("browser.chrome.favicons", true); in your prefs...
*** Bug 169855 has been marked as a duplicate of this bug. ***
Maybe a regression of bug 168839.
grrrrr it's a regression of bug 168048 in combination with bug 168839 alecf was moving a define to the .cpp file, where it was used before 168839's patch after that patch, it was used in the .h file... will attach a patch in a second
Assignee: pavlov → cbiesinger
Priority: -- → P1
Target Milestone: --- → mozilla1.2beta
alecf, could you r= (or sr=) this patch, as your patch caused this regression? thanks
Status: NEW → ASSIGNED
the reason I moved it out of the header file was because GFXFORMAT was being used by other header files (I think I moved one out of jpeg as well) and they were conflicting please either call this BMP_GFXFORMAT or move the function out of the header.
it was used in XBM as well but there it was moved to the C++ file. I can't move this out of the header. the functions are |inline| functions. (hm, that reminds me, gotta check if the inlining is worth it) but sure, I can rename that
Attached patch alternativeSplinter Review
let me clarify my earlier comment. they are not only inline, but used in two different .cpp files. so they must stay in the header or be made non-inline.
Comment on attachment 100384 [details] [diff] [review] alternative sr=alecf
Attachment #100384 - Flags: superreview+
Comment on attachment 100384 [details] [diff] [review] alternative r=paper
Attachment #100384 - Flags: review+
checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Keywords: review
Resolution: --- → FIXED
Fixed in Mozilla 1.2b Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.2b) Gecko/2002092505 Mac8.6.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: