Skip to content

Task::spawn always opens task dialog, doesn't spawn named task #24833

@497e0bdf29873

Description

@497e0bdf29873

Summary

Since 0.173.8, Task::spawn always opens the task dialog instead of spawning a named task.This is after doing the suggested auto-update of keymap.json, with a configuration that used to work in earlier versions.

Steps to trigger the problem:

  1. Configure a task.
  2. Bind a key to the task, for example:
[
    {
        "context": "Workspace",
        "bindings": {
            "shift shift": ["task::Spawn", { "task_name": "forward_search" }],
            "f5": ["task::Spawn", { "task_name": "pdflatex_view" }],
        }
    },
]
  1. Press the configured key (e.g., f5).

Actual Behavior:

Task dialog is opened.

Expected Behavior:

The named task should be run.

Zed Version and System Specs

Zed: v0.173.8 (Zed)
OS: macOS 15.2.0
Memory: 16 GiB
Architecture: aarch64

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions