Closed JeffSeltzer closed 4 years ago
File > Save As fails to open the browser window in the folder where the original file is located,
Can you clearify what "browser window" is here, do you mean the save dialog?
The Save-As dialog box,
@JeffSeltzer and does this only reproduce for files on network/UNC drive or in general?
Files opened from local drives appear to work as expected. I tried a couple different files opened from network (including paths that were only about 4-5 levels deep). The default Save-As path always seems to be stuck on a path on the same network that I accessed a long time ago, and doesn't appear to vary.
Need to reproduce this.
@JeffSeltzer do you see a native file dialog or our picker dialog?
@JeffSeltzer I wonder if this is a Windows issue and we pass on the right path but Windows cannot switch to it because it is a network path. To proof that, can you debug VSCode at this point:
fileDialogService.ts#pickFileToSave
options
for its defaultUri
to see if that is the proper path of the file (or its parent)I tried with a UNC path to come close to a network path via https://stackoverflow.com/questions/2787203/unc-path-to-a-folder-on-my-local-computer and could not reproduce.
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
Issue Type: Bug
Open an existing file via Explorer from a network-mounted drive (such as "\\xsjswsvm2\mpmc\sandboxes\jeffs"). File > Save As fails to open the browser window in the folder where the original file is located, like virtually all other windows applications do.
VS Code version: Code 1.45.1 (5763d909d5f12fe19f215cbfdd29a91c0fa9208a, 2020-05-14T08:27:35.169Z) OS version: Windows_NT x64 10.0.17134
System Info
|Item|Value| |---|---| |CPUs|Intel(R) Xeon(R) CPU E3-1535M v6 @ 3.10GHz (8 x 3096)| |GPU Status|2d_canvas: enabledflash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|63.85GB (46.13GB free)| |Process Argv|\\xsjswsvm2\mpmc\sandboxes\jeffs\IP3_jeffs_smartconnect_v1_0\DEV\hw\sc_si_converter\sc_si_converter_v1_0\hdl\verilog\sc_si_converter_v1_0_splitter.sv| |Screen Reader|no| |VM|0%|
Extensions (3)
Extension|Author (truncated)|Version ---|---|--- vscode-tcl|bkr|0.2.0 systemverilog|eir|0.10.6 veriloghdl|msh|1.1.0