microsoft / vscode

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

Opens in a tiny window #146540

Closed w3johnson closed 2 years ago

w3johnson commented 2 years ago

We have written the needed data into your clipboard because it was too large to send. Please paste.

Issue Type: Bug

When I start VS Code it opens in a tiny window. This has been happening for two days now.

VS Code version: Code 1.66.0 (e18005f0f1b33c29e81d732535d8c0e47cafb0b5, 2022-03-30T05:50:14.623Z) OS version: Windows_NT x64 10.0.19041 Restricted Mode: No Remote OS version: Linux x64 3.10.0-1160.59.1.el7.x86_64

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|31.73GB (7.64GB free)| |Process Argv|--folder-uri vscode-remote://ssh-remote%2Bfdvmprdlin1/data/tfs_workspaces/walter.johnson/NXT_DEV/po/PurchaseOrderReceiving/app --crash-reporter-id cf96a43f-1c16-4044-96fc-f782f6b7005f| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|SSH: fdvmprdlin1| |OS|Linux x64 3.10.0-1160.59.1.el7.x86_64| |CPUs|Intel(R) Xeon(R) Gold 5118 CPU @ 2.30GHz (8 x 2294)| |Memory (System)|46.99GB (1.39GB free)| |VM|100%|
Extensions (7) Extension|Author (truncated)|Version ---|---|--- remote-ssh|ms-|0.78.0 remote-ssh-edit|ms-|0.78.0 remote-wsl|ms-|0.66.0 debugger-for-chrome|msj|4.13.0 vscode-tcw-snippets|Tyl|1.4.2 vscode-eslint|dba|2.2.2 tyler-genero|Mun|0.0.4
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythonvspyl392:30443607 pythontb:30283811 pythonvspyt551:30345470 pythonptprofiler:30281270 vshan820:30294714 vstes263cf:30335440 vscorecescf:30445987 pythondataviewer:30285071 vscod805:30301674 pythonvspyt200:30340761 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 vsc1dst:30438360 pythonvs932:30410667 wslgetstarted:30449410 vsclayoutctrt:30451275 pythonvsnew555:30457759 vscscmwlcmt:30438805 vscgsvid2:30447481 pynewfile477:30463512 ```
sbatten commented 2 years ago

Can you still reproduce this issue with the latest release (1.68)

w3johnson commented 2 years ago

Yes, this is still happening.

From: SteVen Batten @.> Sent: Thursday, June 9, 2022 5:28 PM To: microsoft/vscode @.> Cc: Johnson, Walter @.>; Author @.> Subject: Re: [microsoft/vscode] Opens in a tiny window (Issue #146540)

Can you still reproduce this issue with the latest release (1.68)

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/microsoft/vscode/issues/146540*issuecomment-1151643224__;Iw!!A69Ausm6DtA!bJ7C1dQByZE_c8hf5tPa6xtJxOiFo6o06N_-C7hRT0JSWR6L3f0IfZNwr7V8VqC8HECbZwvuYriKuyKJ3m5czj5rIB2Fr4U$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AGKZO45SHOJZT6IKBUJV27LVOJOXZANCNFSM5SIQJ43Q__;!!A69Ausm6DtA!bJ7C1dQByZE_c8hf5tPa6xtJxOiFo6o06N_-C7hRT0JSWR6L3f0IfZNwr7V8VqC8HECbZwvuYriKuyKJ3m5czj5rCeWhVj0$. You are receiving this because you authored the thread.Message ID: @.***>

sbatten commented 2 years ago

Does this happen when you only have 1 window to restore? or if you have many windows?

w3johnson commented 2 years ago

It happens for the first one I open, and every one after that.

From: SteVen Batten @.> Sent: Friday, June 10, 2022 11:59 AM To: microsoft/vscode @.> Cc: Johnson, Walter @.>; Author @.> Subject: Re: [microsoft/vscode] Opens in a tiny window (Issue #146540)

Does this happen when you only have 1 window to restore? or if you have many windows?

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/microsoft/vscode/issues/146540*issuecomment-1152509553__;Iw!!A69Ausm6DtA!bBg6P_tTPAI9EmA6UIYJ0B2NTIeamFYdKJ73ABoqAARaK1MZVbpUH2rGM_QYKdnij7pS4q8TvSgYrjJQF8ocvHS8IjGxbME$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AGKZO457KL6PZQG7X2SUQ4TVONQ2VANCNFSM5SIQJ43Q__;!!A69Ausm6DtA!bBg6P_tTPAI9EmA6UIYJ0B2NTIeamFYdKJ73ABoqAARaK1MZVbpUH2rGM_QYKdnij7pS4q8TvSgYrjJQF8ocvHS8kTTpSec$. You are receiving this because you authored the thread.Message ID: @.***>

sbatten commented 2 years ago

Can you share a gif of the behavior (screen recording?) so I can see the size before and after? Note you won't be able to attach it to an email response, github will drop it

w3johnson commented 2 years ago

This is how it opens up: image And I always have to resize it to make it large enough to be useful.

sbatten commented 2 years ago

@w3johnson do you have multiple monitors? if so can you share info about the resolution and scaling of each monitor in your OS settings?

@deepak1556 I notice if I restart VS Code on my second monitor (which is 2K while my primary monitor is 4k) the window gets smaller each successive time.

w3johnson commented 2 years ago

Yes, my laptop is: image and the other monitor (where I open VS Code) is: image

vscodenpa commented 2 years ago

Hey @deepak1556 @sbatten, this issue might need further attention.

@w3johnson, you can help us out by closing this issue if the problem no longer exists, or adding more information.

w3johnson commented 2 years ago

It still happens every time. I always have to manually resize the VS Code window to make it useable.

w3johnson commented 2 years ago

This issue seems to have been fixed with the latest version (1.71.0) of VS Code.