Skip to content

"focus": true not focusing #197394

@drgrib

Description

@drgrib

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

  • VS Code Version:
    Version: 1.84.0 (Universal)
    Commit: d037ac0
    Date: 2023-11-01T11:30:19.406Z
    Electron: 25.9.2
    ElectronBuildId: 24603566
    Chromium: 114.0.5735.289
    Node.js: 18.15.0
    V8: 11.4.183.29-electron.0
    OS: Darwin arm64 23.1.0
  • OS Version: macOS Sonoma 14.1

Steps to Reproduce:

  1. Create a task in task.json with this format
		{
			"label": "go mod tidy",
			"type": "shell",
			"command": "go mod tidy",
			"group": "build",
			"presentation": {
				"reveal": "always",
				"panel": "new",
				"focus": true,
				"echo": true
			},
		},
  1. Open an editor window if not already open
  2. Run the task
  3. Notice that the cursor stays in the editor so the terminal must be clicked on to press enter and dismiss the task

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsiderstasksTask system issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions