You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Colors are washed out on 1.69 and above with P3 displays #161028
bugIssue identified by VS Code Team member as probable bugchromiumIssues and items related to Chromiuminfo-neededIssue requires more information from postermacosIssues with VS Code on MAC/OS XupstreamIssue identified as 'upstream' component related (exists outside of VS Code)
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.71.2. Please try upgrading to the latest version and checking whether this issue remains.
Have you to tried the force-color-profile: srgb option from #152816 (comment), it also has the context for why the behavior changed with 1.69. The runtime decides to render based on the OS color profile, .
Robo (@deepak1556) Just tried it, unfortunately no avail. I've tried both srgb and display-p3-d65 (restarted Vscode after both), both render washed out.
I've also realized that I have a "disable-color-correct-rendering": true (which I don't remember putting, perhaps auto-set?) key in the arguments file (which seems to be ignored by newer versions) that is used in 1.68. If I remove that key or set it to false, 1.68 also renders colors washed out.
Apparently having disable-color-correct-rendering": true and using 1.68 results in correct colors (even though it seems ironic), whereas 1.69 above doesn't render correct colors in any way (and doesn't obey that key apparently).
Thanks for testing, yeah "disable-color-correct-rendering" support was broken in 1.69 and since 1.70 the flag support has been removed. Can you provide the font and theme settings inside VSCode. Also, can you share some screenshots of your macOS display settings to help us repro the issue. Thanks!
Also here is screenshot from the 1.68 and the latest, with the same file open. Please note that you might need a wide gamut display to see the difference:
The color saturation is washed out in the second screenshot.
Robo (@deepak1556) I still witness the same washed out colours in 1.74.2. None of the argv manipulations seem to give any effect.
Is there any progress investigating this?
Is there any update on this? I'm still using September 2022 version. Just checked the February 2023 version (stable) and I can confirm the problem still persists.
I tried editing argv but it seems to have no effect. I'm not sure why.
The following solution worked for me (using a Mac):
Open the main.js located at VSCode App Bundle > Resources > app > out > main.js
Replace app.commandLine.appendSwitch("disable-features","CalculateNativeWinOcclusion");
with app.commandLine.appendSwitch("disable-features","CalculateNativeWinOcclusion");app.commandLine.appendSwitch("disable-color-correct-rendering","true");
Restart VS Code
Your colors are vibrant again
(I thing this is exactly what argv should do, but for me modifying argv did exactly nothing)
Reacted by xzbdmw, 秋羽, Artem Zhivoderov and Jeongmin Liu
bugIssue identified by VS Code Team member as probable bugchromiumIssues and items related to Chromiuminfo-neededIssue requires more information from postermacosIssues with VS Code on MAC/OS XupstreamIssue identified as 'upstream' component related (exists outside of VS Code)
Activity
vscodenpa commentedon Sep 16, 2022
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.71.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!
canpoyrazoglu commentedon Sep 16, 2022
The issue persists in the latest version. It's 1.69 and above, including the latest version.
deepak1556 commentedon Sep 16, 2022
Have you to tried the
force-color-profile: srgboption from #152816 (comment), it also has the context for why the behavior changed with1.69. The runtime decides to render based on the OS color profile, .canpoyrazoglu commentedon Sep 16, 2022
Robo (@deepak1556) Just tried it, unfortunately no avail. I've tried both
srgbanddisplay-p3-d65(restarted Vscode after both), both render washed out.I've also realized that I have a
"disable-color-correct-rendering": true(which I don't remember putting, perhaps auto-set?) key in the arguments file (which seems to be ignored by newer versions) that is used in 1.68. If I remove that key or set it to false, 1.68 also renders colors washed out.Apparently having
disable-color-correct-rendering": trueand using 1.68 results in correct colors (even though it seems ironic), whereas 1.69 above doesn't render correct colors in any way (and doesn't obey that key apparently).deepak1556 commentedon Sep 16, 2022
Thanks for testing, yeah
"disable-color-correct-rendering"support was broken in1.69and since1.70the flag support has been removed. Can you provide the font and theme settings inside VSCode. Also, can you share some screenshots of your macOS display settings to help us repro the issue. Thanks!canpoyrazoglu commentedon Sep 16, 2022
I'm using Monokai with following customizations (note that I haven't touched these in months and I confirm they work perfectly in 1.68 and below):
Here is screenshot from my display settings:
Also here is screenshot from the 1.68 and the latest, with the same file open. Please note that you might need a wide gamut display to see the difference:
The color saturation is washed out in the second screenshot.
5 remaining items
[-]Colors are washed out on 1.69 and above[/-][+]Colors are washed out on 1.69 and above with P3 displays[/+]azhiv commentedon Dec 22, 2022
Robo (@deepak1556) I still witness the same washed out colours in 1.74.2. None of the argv manipulations seem to give any effect.
Is there any progress investigating this?
silvaalbert commentedon Jan 30, 2023
Robo (@deepak1556) - any updates on this issue? Happy to jump on a beta to test it out when implemented.
canpoyrazoglu commentedon Mar 8, 2023
Is there any update on this? I'm still using September 2022 version. Just checked the February 2023 version (stable) and I can confirm the problem still persists.
little-huang commentedon Mar 20, 2023
Yes, I have the same problem.
rnner900 commentedon Jul 30, 2023
I tried editing argv but it seems to have no effect. I'm not sure why.
The following solution worked for me (using a Mac):
app.commandLine.appendSwitch("disable-features","CalculateNativeWinOcclusion");with
app.commandLine.appendSwitch("disable-features","CalculateNativeWinOcclusion");app.commandLine.appendSwitch("disable-color-correct-rendering","true");(I thing this is exactly what argv should do, but for me modifying argv did exactly nothing)
deepak1556 commentedon Dec 15, 2023
Please check if the behavior has improved with latest insiders https://code.visualstudio.com/insiders based on a newer version of the runtime.
vscodenpa commentedon Dec 30, 2023
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
xzbdmw commentedon Feb 19, 2024
no difference If I set "force-color-profile": "display-p3-d65"
It is still displayed in sRGB
#161028 (comment)
And this still works.