Skip to content

The Toggle Command of Webview can only open, but not close panel #182266

@yiliang114

Description

@yiliang114

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:

  1. Open Command Panel input Toggle, Select any toggle command like workbench.actions.view.problems and call it twice.
  2. If there is no accident, the execution of the two commands can open the panel and then close it.
  3. 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.

image

bug6

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugwebviewWebview issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions