microsoft / vscode

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

Open File does not present the same folder as an already opened file #219935

Closed kostas-alex closed 4 months ago

kostas-alex commented 4 months ago

Type: Bug

  1. Open a file in the editor
  2. Go to File->Open File The pop up window presents the user with recently opened files instead of the same folder as the already opened file.

VS Code version: Code 1.91.0 (ea1445cc7016315d0f5728f8e8b12a45dc0a7286, 2024-07-01T18:52:41.959Z) OS version: Linux x64 5.15.0-112-generic Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz (8 x 3690)| |GPU Status|2d_canvas: unavailable_software
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: disabled_off| |Load (avg)|0, 0, 0| |Memory (System)|35.18GB (23.08GB free)| |Process Argv|--crash-reporter-id e9396e28-e164-46fb-a434-5f6135335031| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|xfce| |XDG_CURRENT_DESKTOP|XFCE| |XDG_SESSION_DESKTOP|xfce| |XDG_SESSION_TYPE|x11|
Extensions (47) Extension|Author (truncated)|Version ---|---|--- project-manager|ale|12.8.0 gitignore|cod|0.9.0 c-cpp-compile-run|dan|1.0.58 git-extension-pack|don|0.1.3 githistory|don|0.6.20 refine-c|dun|0.0.3 gitlens|eam|15.1.0 vscode-pull-request-github|Git|0.92.0 better-cpp-syntax|jef|1.17.2 git-graph|mhu|1.30.0 linuxkerneldev|mic|0.6.1 debugpy|ms-|2024.6.0 python|ms-|2024.8.1 vscode-pylance|ms-|2024.6.1 jupyter|ms-|2024.6.0 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.18 vscode-jupyter-cell-tags|ms-|0.1.9 vscode-jupyter-slideshow|ms-|0.1.6 remote-containers|ms-|0.369.0 remote-ssh|ms-|0.112.0 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.88.2 cpptools|ms-|1.21.0 cpptools-extension-pack|ms-|1.3.0 js-debug-nightly|ms-|2024.7.317 makefile-tools|ms-|0.9.10 remote-explorer|ms-|0.4.3 vscode-typescript-next|ms-|5.6.20240703 vsliveshare|ms-|1.0.5932 devicetree|plo|0.1.1 tcl|ras|0.1.0 java|red|1.32.0 trailing-spaces|sha|0.4.1 code-spell-checker|str|3.0.1 vscode-make|tec|1.0.2 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.3.1 vscode-java-debug|vsc|0.58.0 vscode-java-dependency|vsc|0.23.7 vscode-java-pack|vsc|0.27.0 vscode-java-test|vsc|0.41.1 vscode-maven|vsc|0.44.0 yocto-bitbake|yoc|2.5.0 dictionary-completion|yzh|1.3.1 json|Zai|2.0.2 vscode-open-in-github|ziy|1.3.6 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 2e7ec940:31000449 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 jchc7451:31067544 chatpanelc:31048052 dsvsc021:30996838 0ee40948:31013168 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupytercf:31046870 legacy_priority:31082724 ```
bpasero commented 4 months ago

I think this is a regression from the native dialog work on Linux, but if not, please move back.

deepak1556 commented 4 months ago

/duplicate https://github.com/microsoft/vscode/issues/213780