Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: latest vscode.dev or Version: 1.78.0 (Universal)
Version: 1.78.0 (Universal)
Commit: 252e546
Date: 2023-05-03T20:11:00.813Z
Electron: 22.4.8
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin x64 21.3.0
Sandboxed: Yes
- OS Version: 12.2.1 (21D62)
Steps to Reproduce:
- Open Command Panel input
Toggle, Select any toggle command like workbench.actions.view.problems and call it twice.
- If there is no accident, the execution of the two commands can open the panel and then close it.
- Then open Command Panel input
Toggle again, select some webview view container command like workbench.action.terminal.toggleTerminal, when the panel is opened, no matter how many times the command is executed, the panel will not close again.


Does this issue occur when all extensions are disabled?: Yes
Version: 1.78.0 (Universal)
Commit: 252e546
Date: 2023-05-03T20:11:00.813Z
Electron: 22.4.8
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin x64 21.3.0
Sandboxed: Yes
Steps to Reproduce:
Toggle, Select any toggle command likeworkbench.actions.view.problemsand call it twice.Toggleagain, select some webview view container command likeworkbench.action.terminal.toggleTerminal, when the panel is opened, no matter how many times the command is executed, the panel will not close again.