microsoft / microsoft/vscode

Focus on files explorer command doesn't focus

Open
#327,599 0 comments 0 reactions 1 assignee Claimed by @lramos15 View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Type: Bug

1. Open empty folder
2. Create two dummy text files
3. Open any extension tab, other than one containing files explorer
4. Focus on any of the dummy files
5. Open command palette
6. Enter "Focus on files explorer"
7. Expected: selected file is focused
8. Happens: extension marketplace is focused

https://github.com/user-attachments/assets/70c21e58-6b0f-45c8-984c-ce221274ca7a

VS Code version: Code 1.130.0 (Universal) (1b6a188127eeaf9194f945eb6eb89a657e93c54c, 2026-07-22T14:55:04Z)
OS version: Darwin arm64 25.5.0
Modes:
Remote OS version: Linux arm64 6.12.76-linuxkit

System Info

|Item|Value|
|---|---|
|CPUs|Apple M1 Pro (8 x 2400)|
|GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x106b [Google Inc. (Apple)], DEVICE=0x0000 [ANGLE (Apple, ANGLE Metal Renderer: Apple M1 Pro, Version 26.5.2 (Build 25F84))], DRIVER_VENDOR=Apple, DRIVER_VERSION=26.5.2 *ACTIVE*
Machine model name: MacBookPro
Machine model version: 18.3
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
skia_graphite: enabled_on
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off|
|Load (avg)|4, 4, 3|
|Memory (System)|32.00GB (0.44GB free)|
|Process Argv|--crash-reporter-id 845d6316-3681-43d1-ac65-00512a7040d9|
|Screen Reader|no|
|VM|0%|

|Item|Value|
|---|---|
|Remote|Dev Container: h10-dev @ desktop-linux|
|OS|Linux arm64 6.12.76-linuxkit|
|CPUs|unknown (6 x 0)|
|Memory (System)|23.43GB (19.27GB free)|
|VM|0%|
Extensions (15)

Name|Identifier|Author|Version
---|---|---|---
GitHub Repositories|github.remotehub|GitHub|0.64.0
Container Tools|ms-azuretools.vscode-containers|ms-azuretools|2.4.5
Docker|ms-azuretools.vscode-docker|ms-azuretools|2.0.0
Jupyter Keymap|ms-toolsai.jupyter-keymap|ms-toolsai|1.1.2
Dev Containers|ms-vscode-remote.remote-containers|ms-vscode-remote|0.466.0
Remote - SSH|ms-vscode-remote.remote-ssh|ms-vscode-remote|0.124.0
Remote - SSH: Editing Configuration Files|ms-vscode-remote.remote-ssh-edit|ms-vscode-remote|0.87.0
WSL|ms-vscode-remote.remote-wsl|ms-vscode-remote|0.104.3
Remote Development|ms-vscode-remote.vscode-remote-extensionpack|ms-vscode-remote|0.26.0
Azure Repos|ms-vscode.azure-repos|ms-vscode|0.40.0
Remote Explorer|ms-vscode.remote-explorer|ms-vscode|0.5.0
Remote Repositories|ms-vscode.remote-repositories|ms-vscode|0.42.0
Remote - Tunnels|ms-vscode.remote-server|ms-vscode|1.5.3
Code Spell Checker|streetsidesoftware.code-spell-checker|streetsidesoftware|4.5.6
Even Better TOML|tamasfe.even-better-toml|tamasfe|0.21.2

A/B Experiments

```
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
envsactivate1:31551504
gh487529:31544284
cloudbuttont:31379625
3efgi100_wstrepl:31403338
55ia6109:31457054
ec5jj548:31422691
cp_cls_t_966_ss:31526232
8hhj4413:31478653
ge8j1254_inline_auto_hint_haiku:31490510
cp_cls_t_1081:31454832
conptydll_true:31498968
e9c30283:31461165
test_treatment2:31471001
46204921:31447328
capico_axe_098a3278:31555651
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
89g7j272:31518289
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
ddid_t:31478206
hmra_i5g22:31518061
g35_d1382936:31554123
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
cdk-lw-on:31524445
f9bf7985:31543584
jh5f2457_c:31540921
g4a0e106:31529594
41836166:31537719
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_t_nes:31548657
d7b18187:31526828
nes-curr-leftover-1500:31538366
ahp-both-windows:31555645
h561g132:31533256
sessions_3:31532893
chatquotatrajectorynudge-control:31548766
ihg5j128:31534457
f412h606:31551416
7g2b5551:31542111
sandbox-ui-on-2:31543161
5fe6f778:31554331
allow-none:31555437
fd5dc207:31551400
nes-gb2-ctrl:31554343
1532g621_copy:31554320
d4c76da2:31554780
treatment-23-1:31555779
unuse_dynamic_mcp:31555281

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.