microsoft / vscode

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

There are two search icon in activity bar #219046

Closed ZCShou closed 4 months ago

ZCShou commented 5 months ago

Does this issue occur when all extensions are disabled?: Yes

Steps to Reproduce:

  1. open vscode but do not open any folder image

  2. the one of search icon will disappear if open a folder. But the shortcut will be incorrect image

gjsjohnmurray commented 5 months ago

Please use the Start Extension Bisect command to investigate whether the problem is being caused by one of your extensions.

ZCShou commented 5 months ago

Please use the Start Extension Bisect command to investigate whether the problem is being caused by one of your extensions.

  1. I turn off the sync and deleted .vscode-insiders folder. so there is no any extension image
  2. use the Start Extension Bisect is also the case
gjsjohnmurray commented 5 months ago

I assume the "Makefile", "Bitbake" etc entries on the context menu in your earlier screenshot no longer appear. What does it now look like?

Do both magnifier buttons in Activity Bar produce the same content in the Sidebar (the SEARCH view, I assume)?

ZCShou commented 4 months ago

I assume the "Makefile", "Bitbake" etc entries on the context menu in your earlier screenshot no longer appear. What does it now look like?

I do not disable all extensions in the first screenshot. so there are Makefile, Bitbake etc on the context menu. After you reply me, I disable all extensions, but the situation remains the same

Do both magnifier buttons in Activity Bar produce the same content in the Sidebar (the SEARCH view, I assume)?

One of Search Icon's view is empty, and the other is ok. Please watch the video below, thanks.

https://github.com/microsoft/vscode/assets/8591065/2f3e5618-d020-4019-99dd-dcc461300647

andreamah commented 4 months ago

You can fix this by running View: Reset View Locations. Does that help?

ZCShou commented 4 months ago

You can fix this by running View: Reset View Locations. Does that help?

It's useful. Thank you very much!