Open Bug 1528160 Opened 7 years ago Updated 3 years ago

Colors shift to dark and muted if you use fast user switching to go to the login screen and back in macOS while Firefox is open

Categories

(Core :: Graphics: Color Management, defect, P3)

65 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: jco, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:65.0) Gecko/20100101 Firefox/65.0

Steps to reproduce:

Be using a wide gamut monitor with color management turned on in Firefox.

So have the following set in about:config-
gfx.color_management.display_profile;/Users/name/Library/ColorSync/Profiles/DELL U2713H.icc (or whatever your color profile is)
gfx.color_management.enablev4;true
gfx.color_management.mode;1

Have fast user switching turned on in System Preferences - Users & Groups - Login Options

Have a web page open in Firefox, go to "Login Window…" under fast user switching, then log back in, and all the colors in the open Firefox will now be dark and muted. The only way I've found to get colors to return to how they should be is to restart Firefox.

Actual results:

After logging back in, all colors in the still open Firefox will be shifted to dark and muted.

Expected results:

Colors should not change.

I'm currently testing this in Firefox 65.0.1 and in macOS 10.13.6, but I've noticed it in many previous versions of Firefox. This is not a new issue.

I've attached a screenshot of how the colors look before and after. I converted it to sRGB so people looking at it on a regular monitor that is not wide gamut should still be able to get a general idea of what is going on.

Setting as Core: Layout
Please correct to the right component if this is not the case.

I was not able to test due to I don't have a wide gamut monitor with color management turned on.
Thank you.

Component: Untriaged → Layout
Product: Firefox → Core

This sounds much more like graphics. Maybe Jeff knows how the color profile stuff works?

Component: Layout → Graphics

Does the problem happen if you don't set 'gfx.color_management.display_profile'? Firefox should just use the system profile in that case.

Flags: needinfo?(jco)

(In reply to Jeff Muizelaar [:jrmuizel] from comment #3)

Does the problem happen if you don't set 'gfx.color_management.display_profile'? Firefox should just use the system profile in that case.

I just tested it and the issue still happens if no color profile is set in gfx.color_management.display_profile.

Flags: needinfo?(jco)

I tested it some more and colors shift in Safari and Chrome as well, though not nearly as severe as Firefox, so maybe this is a macOS issue.

I test it in:
Safari version 12.0.3 (13606.4.5.3.1)
Google Chrome version 72.0.3626.109 (Official Build) (64-bit)

I can find people having similar problems, but most posts are over ten years old, with nothing really recent:
https://www.macworld.com/article/1049522/fuscolor.html
https://hints.macworld.com/article.php?story=20060103162354164
https://www.engadget.com/2006/03/29/fixscreen-applescript-to-fix-fast-user-switching-color-bug/
https://apple.stackexchange.com/questions/139751/fast-user-switching-affects-color-profile

I filed a bug report with Apple, so maybe that will help.

Component: Graphics → GFX: Color Management
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: