Closed Bug 424346 Opened 17 years ago Closed 17 years ago

When support for ICC color profiles is enabled, default Mac theme color mismatches title bar

Categories

(Firefox :: Theme, defect)

PowerPC
macOS
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 403169

People

(Reporter: znerd, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; nl; rv:1.9b4) Gecko/2008030317 Firefox/3.0b4 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; nl; rv:1.9b4) Gecko/2008030317 Firefox/3.0b4 There is a color difference visible, between the title bar of the Firefox window and the panel below it. This is not very important at this point in time, AFAICS, since it requires explicitly enabling ICC color profile support. Reproducible: Always Steps to Reproduce: 1. Start Firefox 3 beta 4 on Mac OS X 10.4.11 2. Go to about:config 3. Confirm you want to edit settings 4. Set the option "gfx.color_management.enabled" to "true" 5. Restart Firefox Actual Results: Color difference is visible, between the title bar of the Firefox window and the panel below it (which contains the forward/backward buttons, reload button, URL text field, etc.) Expected Results: No color difference.
I guess I don't understand how this works. Shouldn't this pull the color profile from the image file? Because the images used in the toolbar don't have a color profile.
Don't ask me, I'm just a simple web developer who's trying to deal with color profile-aware browsers like Safari 3. I'm not sure how it works, exactly, but when there is no color profile, then a color profile-aware browser assumes either to a generic color profile (e.g. sRGB) or a profile specific to the user machine (such as "EIZO 9320i (Dark)") See also: http://webkit.org/blog/73/color-spaces/
I realize that only applies to Safari but: "First of all, if you correct unprofiled images to sRGB, you have to correct all drawing to sRGB. This includes everything drawn by CSS (borders, backgrounds, text). This is not difficult to do under the hood, although it is difficult to do it with no performance regression in our benchmarks at all. In fact we even tried this during the Tiger development cycle (just correcting everything drawn to sRGB), but it slowed us down." If this is how FF handled things then the Toolbar and Titlebar would match. Obviously it is not color correcting the CSS colors. Maybe someone familiar with it could shed some light on exactly how FF's color management implementation works? There is no UI to turn it on and would suppose it is off for a reason? I really don't know that it is something we could fix in the theme itself.
I think this is a dupe of Bug #403169
Stephen: You are right, thanks for pointing this out.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: