Skip to content

Terminal font rendering bug in Firefox and Chrome. #4073

@tidux

Description

@tidux

OS/Web Information

  • Web Browser: Firefox, Google Chrome, Microsoft Edge
  • Local OS: Linux, Windows 10
  • Remote OS: Amazon Linux 2
  • Remote Architecture: x86_64
  • code-server --version: 3.11.1 c680aae

Steps to Reproduce

  1. open code-server tab in Firefox
  2. open terminal
  3. type _______

Expected

The underscore characters are visible.

Actual

The underscore characters are not visible, leaving what appears to be blank spaces. In Chrome based browsers, adjusting the terminal's line spacing to 1.1 makes the underscores visible, but this does not work in Firefox.

Logs

Console stdout/stderr:

[2021-08-30T20:58:55.509Z] info    - Not serving HTTPS
[2021-08-30T21:02:15.733Z] debug forking vs code...
[2021-08-30T21:02:16.096Z] debug setting up vs code...
[2021-08-30T21:02:16.099Z] debug vscode got message from code-server {"type":"init"}
[2021-08-30T21:02:18.976Z] debug vscode got message from code-server {"type":"socket"}
[2021-08-30T21:02:18.979Z] debug protocol Initiating handshake... {"token":"aae87521-0bbb-4f11-9aac-5b37061ad123"}
[2021-08-30T21:02:19.040Z] debug protocol Handshake completed {"token":"aae87521-0bbb-4f11-9aac-5b37061ad123"}
[2021-08-30T21:02:19.041Z] debug management Connecting... {"token":"aae87521-0bbb-4f11-9aac-5b37061ad123"}
[2021-08-30T21:02:19.042Z] debug vscode 1 active management connection(s)
[2021-08-30T21:02:20.647Z] debug vscode got message from code-server {"type":"socket"}
[2021-08-30T21:02:20.647Z] debug protocol Initiating handshake... {"token":"1e6492e6-71b6-4fda-bf1e-5a1e11924ca3"}
[2021-08-30T21:02:20.884Z] debug got latest version {"latest":"3.11.1"}
[2021-08-30T21:02:20.884Z] debug comparing versions {"current":"3.11.1","latest":"3.11.1"}
[2021-08-30T21:02:20.919Z] debug protocol Handshake completed {"token":"1e6492e6-71b6-4fda-bf1e-5a1e11924ca3"}
[2021-08-30T21:02:20.920Z] debug exthost Connecting... {"token":"1e6492e6-71b6-4fda-bf1e-5a1e11924ca3"}
[2021-08-30T21:02:20.921Z] debug exthost Getting NLS configuration... {"token":"1e6492e6-71b6-4fda-bf1e-5a1e11924ca3"}
[2021-08-30T21:02:20.921Z] debug vscode 1 active exthost connection(s)
[2021-08-30T21:02:20.921Z] debug exthost Spawning extension host... {"token":"1e6492e6-71b6-4fda-bf1e-5a1e11924ca3"}
[2021-08-30T21:02:20.925Z] debug exthost Waiting for handshake... {"token":"1e6492e6-71b6-4fda-bf1e-5a1e11924ca3"}
[2021-08-30T21:02:21.328Z] debug exthost Handshake completed {"token":"1e6492e6-71b6-4fda-bf1e-5a1e11924ca3"}
[2021-08-30T21:02:21.328Z] debug exthost Sending socket {"token":"1e6492e6-71b6-4fda-bf1e-5a1e11924ca3"}
terminate called after throwing an instance of 'Napi::Error'
  what():  Inotify limit reached
IPC "File Watcher (nsfw)" crashed with exit code null and signal SIGABRT
  ERR [File Watcher (nsfw)] terminated unexpectedly and is restarted again...
  ERR [File Watcher (nsfw)] terminated unexpectedly and is restarted again...
terminate called after throwing an instance of 'Napi::Error'
  what():  Inotify limit reached
IPC "File Watcher (nsfw)" crashed with exit code null and signal SIGABRT
  ERR [File Watcher (nsfw)] terminated unexpectedly and is restarted again...
  ERR [File Watcher (nsfw)] terminated unexpectedly and is restarted again...
terminate called after throwing an instance of 'Napi::Error'
  what():  Inotify limit reached
IPC "File Watcher (nsfw)" crashed with exit code null and signal SIGABRT
  ERR [File Watcher (nsfw)] terminated unexpectedly and is restarted again...
  ERR [File Watcher (nsfw)] terminated unexpectedly and is restarted again...
terminate called after throwing an instance of 'Napi::Error'
  what():  Inotify limit reached
IPC "File Watcher (nsfw)" crashed with exit code null and signal SIGABRT
  ERR [File Watcher (nsfw)] terminated unexpectedly and is restarted again...
  ERR [File Watcher (nsfw)] terminated unexpectedly and is restarted again...
terminate called after throwing an instance of 'Napi::Error'
  what():  Inotify limit reached
IPC "File Watcher (nsfw)" crashed with exit code null and signal SIGABRT
  ERR [File Watcher (nsfw)] terminated unexpectedly and is restarted again...
  ERR [File Watcher (nsfw)] terminated unexpectedly and is restarted again...
terminate called after throwing an instance of 'Napi::Error'
  what():  Inotify limit reached
IPC "File Watcher (nsfw)" crashed with exit code null and signal SIGABRT
  ERR [File Watcher (nsfw)] terminated unexpectedly and is restarted again...
  ERR [File Watcher (nsfw)] terminated unexpectedly and is restarted again...
terminate called after throwing an instance of 'Napi::Error'
  what():  Inotify limit reached
IPC "File Watcher (nsfw)" crashed with exit code null and signal SIGABRT
  ERR [File Watcher (nsfw)] failed to start after retrying for some time, giving up. Please report this as a bug report!
  ERR [File Watcher (nsfw)] failed to start after retrying for some time, giving up. Please report this as a bug report!
^C[2021-08-30T21:02:59.332Z] debug child:72071 disposing {"code":"SIGINT"}

Screenshot

Screenshot 2021-08-30 135602

The "command not found" error was produced by typing several underscores and hitting enter.

Notes

This issue can be reproduced in VS Code: No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions