microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.55k stars 29.4k forks source link

github.dev: extension contributed terminals don't show up when welcome view is active #133024

Closed Tyriar closed 3 years ago

Tyriar commented 3 years ago

In a web extension register a terminal profile provider that creates a vscode.PseudoTerminal. When the terminal welcome view is active, creating a terminal doesnt replace the welcome view:

Clicking this image

results in just this: image

I can click on Move into editor are: image

and that'll show the terminal as an editor and at that point the welcome view is gone and the terminal view works normally

srivatsn commented 3 years ago

This happens in vscode.dev/liveshare now. Repro:

  1. Make sure the terminal was opened once before closing a session - so that it's focused when vscode initializes.
  2. Now join a Liveshare session where terminal has been shared.

That terminal won't show up because the welcome view would have been rendered before the liveshare extension got a chance to create a terminal. This doesnt happen if the terminal wasn't already opened.

image

meganrogge commented 3 years ago

fixed with https://github.com/microsoft/vscode/pull/136327

meganrogge commented 2 years ago

to verify:

rchiodo commented 2 years ago

/verified