Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Active item isn't being tracked on the File Explorer #128538

Closed
bruno-brant opened this issue Jul 13, 2021 · 7 comments
Closed

Active item isn't being tracked on the File Explorer #128538

bruno-brant opened this issue Jul 13, 2021 · 7 comments
Assignees
Labels
file-explorer Explorer widget issues info-needed Issue requires more information from poster

Comments

@bruno-brant
Copy link
Contributor

bruno-brant commented Jul 13, 2021

Issue Type: Bug

When switching files through open tabs, File Explorer neglects to select the current active item (even though it's part of the current workspace).

VS Code version: Code - Insiders 1.59.0-insider (f6df685, 2021-07-13T05:12:59.073Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (8 x 3592)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.94GB (7.11GB free)
Process Argv --crash-reporter-id 4e347825-8035-44ec-905f-4159d9ffe78f
Screen Reader no
VM 0%
Extensions (9)
Extension Author (truncated) Version
gitlens eam 11.6.0
prettier-vscode esb 8.0.1
vscode-pull-request-github Git 0.28.0
vscode-todo-parser min 1.9.1
env-cmd-file-syntax Nix 0.3.0
material-icon-theme PKi 4.8.0
vscode-yaml red 0.21.0
sourcery sou 0.9.3
vscodeintellicode Vis 1.2.14
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30291494
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30291487
pythontb:30258533
vsc_aa:30263845
vspre833:30321513
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscus158:30321503
pythonvsuse255:30319630
vscod805cf:30301675
pythonvspyt200:30323110
vscextlang:30310088
vsccppwt:30312692
bridge0708:30335490

@IllusionMH
Copy link
Contributor

/needsMoreInfo

What is your value for explorer.autoReveal setting?

Does it happens for any editor tab or only only for diff/custom editors?

@bruno-brant
Copy link
Contributor Author

bruno-brant commented Jul 13, 2021

What is your value for explorer.autoReveal setting?

image

Does it happens for any editor tab or only only for diff/custom editors?

Any tab. I'll upload a quick video.

Further info:

I'm can't be precisely sure when this issue arose, but I'm sure it was on one of the recent (let's say 3 or 4) versions. Tracking the active item is something I usually miss when navigating code (the first thing I configure in fresh VS Community installations since it's off by default 😊).

@bruno-brant
Copy link
Contributor Author

Heck, it stopped happening. Not sure what I did (I don't think I restarted the environment since posting).

I'll try to reproduce and come back here.

@bruno-brant
Copy link
Contributor Author

bruno-brant commented Jul 13, 2021

Okay, it is happening again. I did not restarted VS - it began just as it stopped, without any cause that I can track down. I would guess it has something to do with the VS window losing and regaining focus, because I'm alt-tabbing the whole time between VS and the browser.

PessoaLista.tsx.-.consignado-web.-.Visual.Studio.Code.-.Insiders.2021-07-13.13-49-09.mp4

@isidorn isidorn added the file-explorer Explorer widget issues label Jul 26, 2021
@isidorn
Copy link
Contributor

isidorn commented Jul 26, 2021

I unfortunately can not reproduce this.
Since you seem to be able to repro, can you please F1 > developer tools > put a breakpoint here and try to figure out why the activeFile is not being revealed

@github-actions github-actions bot locked and limited conversation to collaborators Sep 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
file-explorer Explorer widget issues info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

4 participants
@IllusionMH @bruno-brant @isidorn and others