Skip to content

Focus not on file rename field when having 2x VSCode open #189797

@BenjaminGolba

Description

@BenjaminGolba

Type: Bug

My setup:
Two screens, 1x Macbook Pro m1 (screen1), 1x 27" (screen2)

screen1:
VSCode with Project1

Screen2:
VSCode with Project2

Description:
When having two projects and switching between them the focus on the create new file input is not where it should be (on the new file input) and I can therefore not type in the name. I have to re-focus on the VSCode window and redo the procedure to be able to create a new file.

How to replicate:

  1. I have focus on a file in Project1, I mark the entire file with cmd+a and then copy the marked content with cmd+c.

  2. I then switch to Project2
    2.1 I mark a folder in the explorer view and right click
    2.2 I click on New file in the command window > New file input is opened
    2.3 I cannot type in the new file input

VS Code version: Code 1.79.2 (695af09, 2023-06-14T08:58:33.551Z)
OS version: Darwin arm64 21.1.0
Modes:

System Info
Item Value
CPUs Apple M1 Pro (8 x 24)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
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) 2, 2, 2
Memory (System) 16.00GB (0.29GB free)
Process Argv --crash-reporter-id 9bb8019c-8733-457b-95d5-ae39650a9f31
Screen Reader no
VM 0%
Extensions (28)
Extension Author (truncated) Version
vscode-better-align cho 1.4.2
hide-node-modules chr 1.1.7
circleci Cir 1.17.5
vscode-eslint dba 2.4.2
docs-yaml doc 1.0.1
githistory don 0.6.20
xml Dot 2.5.1
gitlens eam 14.2.0
react-native-react-redux EQu 2.0.6
prettier-vscode esb 10.1.0
vscode-jest-runner fir 0.4.66
copilot Git 1.100.306
vsc-python-indent Kev 1.18.0
document min 2.2.1
vscode-azureappservice ms- 0.25.0
vscode-azureresourcegroups ms- 0.7.5
vscode-cosmosdb ms- 0.19.4
isort ms- 2023.10.1
python ms- 2023.14.0
vscode-pylance ms- 2023.8.10
azure-account ms- 0.11.5
vsliveshare ms- 1.0.5877
vscode-react-native msj 1.11.2
material-icon-theme PKi 4.29.0
prisma Pri 5.1.0
vscode-thunder-client ran 2.10.2
vscode-yaml red 1.14.0
volar Vue 1.8.8
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
vsdfh931cf:30280410
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
vscaac:30438847
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30803845
3biah626:30602489
f6dab269:30613381
a9j8j154:30646983
showlangstatbar:30737416
vsctsb:30748421
03d35959:30757346
pythonfmttext:30731395
pythoncmvfstrcf:30756944
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
gsofa:30804715
pythonnosmt12:30797651
pythonidxptcf:30805731
pythonnoceb:30805159
e537b577:30795824
dsvsc013:30795093
dsvsc014:30804076

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions