microsoft / vscode

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

File Open does nothing #195531

Closed scottfagg closed 1 year ago

scottfagg commented 1 year ago

Type: Bug

Picking "File Open", "Open Folder" and hitting Command-O (on a mac) does nothing. The "open file/folder" dialog box does not appear.

No errors visible. Worked fine a week ago.

VS Code version: Code 1.83.1 (f1b07bd25dfad64b0167beb15359ae573aecd2cc, 2023-10-10T23:46:55.789Z) OS version: Darwin x64 23.0.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)| |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
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|3, 3, 3| |Memory (System)|16.00GB (0.04GB free)| |Process Argv|--crash-reporter-id 032a0d05-4d28-4ffc-a2e7-933718efdb8b| |Screen Reader|no| |VM|0%|
Extensions (37) Extension|Author (truncated)|Version ---|---|--- azurite|Azu|3.26.0 unique-lines|bib|1.0.0 vscode-intelephense-client|bme|1.9.5 doxdocgen|csc|1.4.0 xml|Dot|2.5.1 phpunit|ema|4.1.1 php-intellisense|fel|2.3.14 codespaces|Git|1.15.4 copilot-chat|Git|0.8.0 vscode-test-explorer|hbe|2.21.1 better-cpp-syntax|jef|1.17.2 mac-ca-vscode|lin|0.1.1 git-graph|mhu|1.30.0 vscode-docker|ms-|1.26.1 csharp|ms-|2.6.24 vscode-dotnet-runtime|ms-|1.8.1 isort|ms-|2023.10.1 python|ms-|2023.18.0 vscode-pylance|ms-|2023.10.20 jupyter|ms-|2023.9.1102792234 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.5 remote-ssh|ms-|0.106.5 remote-wsl|ms-|0.81.8 cmake-tools|ms-|1.15.31 cpptools|ms-|1.17.5 cpptools-extension-pack|ms-|1.3.0 powershell|ms-|2023.8.0 remote-explorer|ms-|0.4.1 test-adapter-converter|ms-|0.1.8 sonarlint-vscode|Son|3.22.0 cmake|twx|0.0.17 whitesource-advise|Whi|22.4.2 php-debug|xde|1.33.0 json|Zai|2.0.2 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscorecescf:30445987 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30410667 py29gd2263:30856252 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 2e4cg342:30602488 89544117:30613380 a9j8j154:30646983 showlangstatbar:30737416 962ge761:30841074 03d35959:30757346 7ij38806:30736111 pythonfmttext:30731395 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 pythonnosmt12:30797651 pythonidxptcf:30805731 pythonnoceb:30805159 copilotsettingc:30859502 dsvsc013:30795093 dsvsc014:30804076 diffeditorv1:30821571 pythonmhint1:30842940 dsvsc015:30845448 pythonregdiagcf:30859692 pyreplss2:30858576 ```
scottfagg commented 1 year ago

Can work around it for now by drag-n-drop of files onto VS Code.

scottfagg commented 1 year ago

Run VSC from the console and spotted this output when i attempted to open things :

[main 2023-10-13T03:44:49.363Z] [DialogMainService]: file open dialog is already or will be showing for the window with the same configuration

A check of the desktop shows no open dlgs hidden by other windows.

scottfagg commented 1 year ago

Traced this to an issue with the OS - the file open/save dlg box was failing for all apps (VS Code, Office, some native apps)