VSCode UI not displaying |
||||
Issue descriptionChrome version: Version 67.0.3383.0 (Official Build) dev (64-bit) OS: Chrome Repro steps: 1. Started a terminal 2. Opened a container 3. Installed VSCode ^^ Above is all from the dogfood instructions doc 4. $ code <- gives no UI ps aux | grep code <- shows its running Expected: to see vscode running Actual: it runs but I see no UI Possibly related: I also can't install stuff via apt-get. I can't say 'yes' the prompt so I get an auto abort. tomfitzgerald@penguin:~$ sudo apt-get install wget gnupg gnupg1 gnupg2 Reading package lists... Done Building dependency tree Reading state information... Done gnupg is already the newest version (2.1.18-8~deb9u1). gnupg set to manually installed. The following additional packages will be installed: gnupg1-curl gnupg1-l10n Suggested packages: libpcsclite1 parcimonie xloadimage | imagemagick | eog The following NEW packages will be installed: gnupg1 gnupg1-curl gnupg1-l10n gnupg2 wget 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 2,290 kB of archives. After this operation, 8,280 kB of additional disk space will be used. Do you want to continue? [Y/n] Abort. tomfitzgerald@penguin:~$
,
Apr 7 2018
The first part where code launches, but doesn't show, I think I've seen but I don't have a repro case yet.
The second part reproduces without the first. Something in vscode (electron or vscode itself) is setting stdin (/dev/pts/<pts number>) to O_NONBLOCK and not setting it back. Also doesn't repro in zsh:
zsh:
[smbarber@stretch:~]
% ./test
stdin flags are 0x8002
O_NONBLOCK is false
[smbarber@stretch:~]
% code
[smbarber@stretch:~]
% ./test
stdin flags are 0x8002
O_NONBLOCK is false
bash:
smbarber@stretch:~$ ./test
stdin flags are 0x8002
O_NONBLOCK is false
smbarber@stretch:~$ code
smbarber@stretch:~$ ./test
stdin flags are 0x8802
O_NONBLOCK is true
test program:
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
int main(int argc, char* argv[]) {
int ret = fcntl(STDIN_FILENO, F_GETFL);
printf("stdin flags are 0x%x\n", ret);
printf("O_NONBLOCK is %s\n", ret & O_NONBLOCK ? "true" : "false");
return 0;
}
,
Apr 7 2018
Forked off to issue 830209 for the pseudoterminal being borked.
,
Apr 23 2018
Re: VS Code not showing, I think this might be linked to crbug.com/827736 (VS Code window is sized to 0x0). Since we are tracking those two issues in separate bugs, closing this one.
,
May 9 2018
,
May 17 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by za...@chromium.org
, Apr 6 2018