Skip to content

Different colored area on macOS #152816

Closed
Closed

Description

@lramos15

Fired up vscode on my personal m1 mac for the first time in awhile.

Seeing discoloration in the rendering surrounding the area. I cannot see anything in the DOM that would explain this different colored section. I do not see this on my intel macbook which is settings synced to my M1 machine such that all extensions and settings are the same.

black box 1

black box 2

Robo (@deepak1556) I assigned you because I figured this might be an electron thing with rendering feel free to reassign or let me know how I may help debug.

Activity

  1. MitchLenton commented on Jul 7, 2022

    @MitchLenton

    This happens to me with an intel mac as well. It was fixed by setting "disable-hardware-acceleration": true in the .vscode/argv.json file.

    Specs
    Intel MacBook Pro
    macOS 12.2.1

  2. tillig commented on Jul 7, 2022

    @tillig

    Issue #154387 was marked as a duplicate of this one, however, I do see the issue on an Intel MacBook. --disable-gpu stops the weird rendering from occurring.

  3. changed the title [-]Different colored area on M1 Mac[/-] [+]Different colored area on macOS[/+] on Jul 7, 2022
  4. lramos15 commented on Jul 7, 2022

    @lramos15
    MemberAuthor

    Issue #154387 was marked as a duplicate of this one, however, I do see the issue on an Intel MacBook. --disable-gpu stops the weird rendering from occurring.

    I've renamed the issue to discuss both versions of macOS. The reason I named it M1 mac at first is I cannot repro this on my intel mac but can on my M1 machine

  5. A-Yaskevich commented on Jul 7, 2022

    @A-Yaskevich

    Issue #154387 was marked as a duplicate of this one, however, I do see the issue on an Intel MacBook. --disable-gpu stops the weird rendering from occurring.

    I've renamed the issue to discuss both versions of macOS. The reason I named it M1 mac at first is I cannot repro this on my intel mac but can on my M1 machine

    I have Intel MAC, but facing the same problem

  6. added
    bug
    upstream
    macos
    on Jul 8, 2022
  7. deepak1556 commented on Jul 8, 2022

    @deepak1556
    Collaborator

    Very likely a regression in the disable color correct rendering patch maintained by electron. Confirmation pending.

  8. Kyngo commented on Jul 8, 2022

    @Kyngo

    This happens to me with an intel mac as well. It was fixed by setting "disable-hardware-acceleration": true in the .vscode/argv.json file.

    Specs Intel MacBook Pro macOS 12.2.1

    I had this enabled and still can see this glitch. M1 Mac Mini here. Can confirm that running code --disable-gpu on terminal opens the editor without this glitch.

  9. hua03 commented on Jul 8, 2022

    @hua03

    This happens to me with an intel mac as well. It was fixed by setting "disable-hardware-acceleration": true in the .vscode/argv.json file.
    Specs Intel MacBook Pro macOS 12.2.1

    I had this enabled and still can see this glitch. M1 Mac Mini here. Can confirm that running code --disable-gpu on terminal opens the editor without this glitch.

    code --disable-gpu also works for me. I'm intel chip and macOS 10.15.6.

  10. jeremyn commented on Jul 8, 2022

    @jeremyn

    Since upgrading to 1.69 I've also had problems with color, particularly blocks of color flickering between blue, magenta, or white when I highlight text, sometimes hiding some but not all of the text under the block I've highlighted.

    Lots of issues have been redirected here as duplicates, however in my case I'm using Ubuntu 22.04. If my problem sounds like a duplicate of this issue then please update this issue's title so it doesn't say "macOS". Otherwise I can make a new issue. Thanks.

  11. 26 remaining items

  12. JackyChan commented on Jul 21, 2022

    @JackyChan

    Had the same problem on my M1 macbook air, I had to open the argv.json file (you can use Shift + CMD + P and type Configure Runtime Arguments to open it) and set this line to false :

    "disable-color-correct-rendering": false

    (it was on true, maybe by default).

    After that, just close your VS Code instance with CMD + Q and restart it.

    Awesome, work for me.

  13. eduard-un commented on Jul 25, 2022

    @eduard-un

    None of the above options worked for me on a MacBook Air M1, except by editing the file ~/.vscode/argv.json and commenting out this line of code:

    "disable-color-correct-rendering": true
    

    The same can be achieved by setting the false value instead of true.

    Code - argv json — Divi

  14. removed this from the July 2022 milestone on Jul 26, 2022
  15. RickyRomero commented on Aug 4, 2022

    @RickyRomero

    1.70.0 fixed it for me too!

  16. carlosbelardi commented on Aug 8, 2022

    @carlosbelardi

    I'm still seeing super faded colors on 1.70.0 on my 16-inch M1 Mac. For context my theme is One Dark Pro Darker, and this is what my argv.json file looks like. I've tried other themes and it looks a bit better? So not super sure if the issue is with One Dark Pro

    Screen Shot 2022-08-08 at 12 58 08 PM

    Not sure how visible it is in these screenshots, but text that should be red looks almost like a rust orange, and the green and blue text also looks very dull/faded compared to how it was about a month ago.

    Screen Shot 2022-08-08 at 1 00 23 PM

    I first noticed this a few weeks ago, and adding "disable-hardware-acceleration": true to my argv.json file fixed it, but that's no longer the case

  17. Enubia commented on Aug 12, 2022

    @Enubia

    I'm still seeing super faded colors on 1.70.0 on my 16-inch M1 Mac. For context my theme is One Dark Pro Darker, and this is what my argv.json file looks like. I've tried other themes and it looks a bit better? So not super sure if the issue is with One Dark Pro

    Screen Shot 2022-08-08 at 12 58 08 PM

    Not sure how visible it is in these screenshots, but text that should be red looks almost like a rust orange, and the green and blue text also looks very dull/faded compared to how it was about a month ago.

    Screen Shot 2022-08-08 at 1 00 23 PM

    I first noticed this a few weeks ago, and adding "disable-hardware-acceleration": true to my argv.json file fixed it, but that's no longer the case

    Can confirm this behavior, at first glance everything seems fine but if you look close the colors are still messed up. It's just not as present as it was before the release that "fixed" it.

    After setting "disable-hardware-acceleration": true it was fine again.
    I removed the setting again and it stayed "fixed", at least for now.

    Whatever's causing this, in my case disabling and enabling hardware-acceleration fixed it.

  18. jenky commented on Aug 18, 2022

    @jenky

    I'm still seeing super faded colors on 1.70.0 on my 16-inch M1 Mac. For context my theme is One Dark Pro Darker, and this is what my argv.json file looks like. I've tried other themes and it looks a bit better? So not super sure if the issue is with One Dark Pro

    Screen Shot 2022-08-08 at 12 58 08 PM

    Not sure how visible it is in these screenshots, but text that should be red looks almost like a rust orange, and the green and blue text also looks very dull/faded compared to how it was about a month ago.

    Screen Shot 2022-08-08 at 1 00 23 PM

    I first noticed this a few weeks ago, and adding "disable-hardware-acceleration": true to my argv.json file fixed it, but that's no longer the case

    I had the same issue, except that both "disable-hardware-acceleration" and "disable-color-correct-rendering" didn't work for me. Everything was fine in 1.68

  19. alxlacayo commented on Sep 8, 2022

    @alxlacayo

    I'm also getting washed out colors on my late 2015 imac

  20. kydva commented on Sep 13, 2022

    @kydva

    "disable-hardware-acceleration" and "disable-color-correct-rendering" didn't work for me too.

  21. deepak1556 commented on Dec 13, 2022

    @deepak1556
    Collaborator

    Closing since this is addressed in 1.70 and higher, refs #152816 (comment)

    We still have issues for P3 display which is tracked in #161028

  22. locked and limited conversation to collaborators on Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugconfirmedelectronelectron-18-updatemacosupstream

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions