microsoft / vscode

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

Double-clicking in the file explorer opens two files dues to Open Editors view expanding #212066

Open ddtramp opened 1 week ago

ddtramp commented 1 week ago

Steps to Reproduce:

  1. open file explore
  2. double click file name, just want open single file
  3. vscode, open two file. i just found the scrollbar move down when first click

just like 128508

gjsjohnmurray commented 1 week ago

Did you try setting explorer.openEditors.minVisible and explorer.openEditors.visible to the same positive value?

ddtramp commented 1 week ago

Did you try setting explorer.openEditors.minVisible and explorer.openEditors.visible to the same positive value?

no, i didn't set anything about explore

This issue has occurred since the recent automatic upgrade

lramos15 commented 2 days ago

/gifPlease

VSCodeTriageBot commented 2 days ago

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.

If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.

Happy coding!