Skip to content
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

Terminal Font Issue Has Returned with v1.58.2 #5014

Closed
lechien73 opened this issue Jul 29, 2021 · 25 comments
Closed

Terminal Font Issue Has Returned with v1.58.2 #5014

lechien73 opened this issue Jul 29, 2021 · 25 comments
Labels
editor: code (browser) groundwork: scheduled meta: blocked in progress but blocked by upstream issues or missing data team: IDE type: bug Something isn't working

Comments

@lechien73
Copy link

lechien73 commented Jul 29, 2021

Bug description

The terminal font issues that were fixed in #4130 have returned in the new version of VS Code.

Screenshot 2021-07-29 at 16 38 07

Again, the terminal font is distorted; however, this time, cycling the font in Settings doesn't make a difference.

Steps to reproduce

Open a workspace (I use Brave browser). Observe the terminal font and try to change it in Settings.

Expected behavior

A normal terminal.

Example repository

No response

Anything else?

I cleared the cache in my browser and hard refreshed. Colleagues have confirmed they experience the same behaviour.

@kevin-ci
Copy link

Same issue here. Same reproduction steps. Also using Brave - 1.26.67 Chromium: 91.0.4472.114 (Official Build) (64-bit)

@Sarosim
Copy link

Sarosim commented Jul 29, 2021

Same here, Brave Version 1.27.108 Chromium: 92.0.4515.107 (Official Build) (64-bit)

@heldr
Copy link

heldr commented Jul 29, 2021

A workaround I found is using nativefier to build your own Electron workspace. Somehow it doesn't happen on Electron 🤷‍♂️

nativefier <GITPOD_WORKSPACE_URL> -n <YOUR_APP_NAME> --fast-quit --internal-urls gitpod.io

@ghuntley
Copy link
Contributor

ghuntley commented Jul 30, 2021

Confirming this happened to me moments ago on https://peach-rabbit-vh29qfah.ws-us13.gitpod.io/

about://

92.0.4515.107 (Official Build) (arm64)
--
Revision | 87a818b10553a07434ea9e2b6dccf3cbe7895134-refs/branch-heads/4515@{#1634}
OS | macOS Version 11.5.1 (Build 20G80)
JavaScript | V8 9.2.230.20
User agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36


<br class="Apple-interchange-newline">

Reloading the page resolved the matter.

@ghuntley ghuntley added editor: code (browser) type: bug Something isn't working labels Jul 30, 2021
@0xjjpa
Copy link

0xjjpa commented Jul 31, 2021

Confirming the same bug here, just started a new workspace now.

image

@TheBotlyNoob
Copy link

Same thing for me

@lechien73
Copy link
Author

lechien73 commented Aug 3, 2021

My current workaround has been to edit settings.json and add the following new settings:

{
    "terminal.integrated.lineHeight": 1.2,
    "terminal.integrated.letterSpacing": 2
}

@hrithikwins
Copy link

I still have the same problem with this latest August Update
image

@ghuntley
Copy link
Contributor

ghuntley commented Aug 21, 2021 via email

@akosyakov
Copy link
Member

We removed it from the current groundwork, since it should be fixed in the upstream first.

@neuronick
Copy link

My current solution, which fixes the font problem for me on MacOS Mojave + Chrome:
"terminal.integrated.gpuAcceleration": "canvas"

This works event better than lineHeight / letterSpacing proposed earlier.

Without this setting:
image

With this setting:
image

@akosyakov akosyakov added the meta: blocked in progress but blocked by upstream issues or missing data label Sep 16, 2021
@ar065
Copy link

ar065 commented Sep 29, 2021

Brave's adblocker did it for me. Disabling it fixed the issue

@hrithikwins
Copy link

@wolfy01 can you tell how to do it, I tried disabling the adblocker but it doesn't work, also check this https://community.brave.com/t/i-keep-getting-reports-due-to-canvas-fingerprint-prevention/288876

@Bulletninja
Copy link

@hrithikrtiwari I just clicked the brave icon and disabled it.
Screen Shot 2021-10-19 at 19 41 59

@hrithikwins
Copy link

hrithikwins commented Oct 20, 2021

Ohh great, I tried it on youtube and it works
Thanks @Bulletninja

@ilovejs
Copy link

ilovejs commented Oct 22, 2021

{
"editor.fontSize": 14,
"editor.fontFamily": "Courier",
"redhat.telemetry.enabled": false,
"terminal.integrated.fontFamily": "Courier",
"terminal.integrated.lineHeight": 1.2,
"terminal.integrated.letterSpacing": 0,
"terminal.integrated.gpuAcceleration": "canvas",
"workbench.preferredDarkColorTheme": "Visual Studio Dark",
"window.autoDetectColorScheme": true,
"workbench.colorTheme": "Default Dark+"
}

@scottyeager
Copy link

Disabling Brave's adblocker also resolved this issue for me.

@akosyakov akosyakov removed the priority: highest (user impact) Directly user impacting label Feb 8, 2022
@oktayacikalin
Copy link

Disabling Brave's adblocker also resolved this issue for me.

Same here in elementary OS 6.1.

@loujaybee loujaybee moved this to Scheduled in 🚀 IDE Team Feb 14, 2022
@loujaybee
Copy link
Member

Moving to scheduled to investigate. 🙏

@mustard-mh
Copy link
Contributor

mustard-mh commented Mar 10, 2022

Close see wiki xtermjsFAQ/characters-are-getting-cut-off-in-the-terminal

@uriva
Copy link

uriva commented Mar 10, 2022

@mustard-mh reproduction: install brave on ubuntu and open this repo in gitpod: https://github.com/hyroai/gamla

@mustard-mh
Copy link
Contributor

@uriva we should go to and disable fingerprinting brave://settings/shields.

Some browsers (eg. Brave) have privacy features that prevent some fingerprinting techniques that use the canvas such as checking what fonts are installed or determining how certain fonts are actual rasterized. source

@uriva
Copy link

uriva commented Mar 10, 2022

just saying it's reproducible, so maybe you mean to close because it's a problem with a dependency rather than gitpod itself?

@mustard-mh
Copy link
Contributor

Yes, sorry for misleading @uriva, we can't do anything according to this wiki

@imorri
Copy link

imorri commented Apr 26, 2022

Had the same issue with Brave on Mac and Solus, Firefox and Safari no issue.
I found disabling fingerprint tracking in Brave settings resolved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor: code (browser) groundwork: scheduled meta: blocked in progress but blocked by upstream issues or missing data team: IDE type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests