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
Icon shapes broken with rendering artifacts #24820
Comments
@patrys that is quite crazy! can you try to reproduce by picking a standard theme (e.g. dark+) and no icons? This might be related to the electron update but I cannot explain it currently. Also, can you check if there is anything output?
Thanks! |
I don't see anything particularly interesting in the output. Not attaching the console output as it's included in the verbose output below.
|
I've tried reinstalling the insiders build to make sure it was not corrupted by the self-update mechanism. What I've found is even more puzzling: icons are fine if I launch it using the application icon and corrupted when launched from the command line (which is how I usually launch it). I'm using |
@patrys good findings so it may well be terminal related. are you using some kind of terminal emulator like tmux? |
No, not really. After looking very closely at the glitched icons I think they are rendered correctly but with improperly wide stroke widths. Any idea what could affect the vector rasterizer in such an uncommon way? |
@patrys no really not, if I had to guess I would assume that some environment variable you are setting from the terminal has an impact on that. Maybe some unrelated environment variable is actually being picked up by Chrome now that we updated to Electron 1.6.x? Can you try to run VS Code from command line with an empty environment? |
Found the culprit. My env has the following locale settings:
If I unset EDIT: of course this is not a viable solution as a whole lot of other things depend on my locale being correct. EDIT: narrowed it down to the |
@patrys thanks, I can reproduce. reported to Electron as electron/electron#9225 |
To add to @patrys |
I pushed a workaround by explicitly setting |
Same issue can happen when |
The problem seems to be back even with a workaround in place with the most recent insiders build. Here's the output of
Actual environment variables set by macOS:
|
@patrys I do not see blurry icons with that environment using VS Code Insiders. |
I started seeing this issue with the latest non-insiders update :(
The proposed workaround of setting |
Seeing this on OS X 10.11.6 after upgrading to 1.13.0. |
Same issue.
The problem appears only if launched from terminal |
Same here (only when launched from the terminal in OSX 10.12.5): LANG="de_DE.UTF-8" |
Exactly same issue, macOS Sierra with |
Having the same issue, my workaround is to open code in terminal with |
@bpasero Is your fix included in the latest release? |
@fuzzy76 will be in the 1.13.1 release later today. Workaround still: https://code.visualstudio.com/updates/v1_12#_macos-blurry-icons |
Fixed with our recent Electron update. |
Verify: see #24820 (comment) |
Steps to Reproduce:
code-insiders
This only started to manifest itself when my insiders build switched to the 1.12 branch. It looks like vector icon rasterization goes wrong or maybe the alpha channel bitmap gets corrupted. Restarting or upgrading sometimes fixes the issue but not always.
The text was updated successfully, but these errors were encountered: