-
Notifications
You must be signed in to change notification settings - Fork 29k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to disable hardcoded color profile selection #51791
Comments
See atom/atom#17380. |
@lediur can you give this a try:
|
Thanks for the heads up @bpasero. I saw that workaround earlier in the aforementioned atom and electron issues but wasn't sure how to inject that into an installed version of VSCode. I tested out the workaround and can confirm the issue no longer occurs. |
|
@jasonrudolph @daviwil may I ask: any reason you guys decided to not change the default in atom/atom#17380 to be |
@bpasero: I have to admit that my experience working with color profiles is essentially nonexistent prior to atom/atom#17380, but I'll try to explain our thinking. 😅 Assume a developer has taken the time to calibrate the color profile for their display. As a result, they see that Photoshop (and various other apps) respect that color profile and render colors accordingly. The user has said, "When rendering colors on this display, apply these adjustments to ensure that colors are rendered correctly." If Atom always forces the color profile to sRGB, Atom is ignoring that user's instructions, and the user has no way to get Atom to render colors in accordance with the color profile. 🙁 With that in mind, we've chosen to respect the color profile by default. For the subset of users that want apps like Photoshop to honor their color profile, but want Atom to ignore the color profile, we provide a configuration option that allows those users to force the color profile to sRGB in Atom. 🎨 🙂 I hope that context is helpful. For what it's worth, I found this doc from the Chrome team (shared in electron/electron#10732 (comment)) to be a valuable reference in understanding the background for Chrome's updated handling of color profiles. |
@jasonrudolph thanks, that document is really helpful. It looks like not changing the defaults and having a setting is the right thing to do. |
@lediur if you have the time could you see if VSCode Exploration also looks good to you in terms of colors? It includes a variant of the fix on a newer Electron version that should restore the old behaviour completely. |
* update to Electron 2.0.7 * disable ColorCorrectRendering (for #51791)
Closing, with the update to 2.0.7 we are back to the Electron 1.7.x behaviour. |
fa7ded2f007be6ae288b29392501f3dc34105abd
(with Electron 2.0.2)Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes
May be related to electron/electron#10732 and recent upgrade to Electron 2 (VSCode stable 1.24.0 doesn't exhibit this issue).
The text was updated successfully, but these errors were encountered: