Skip to content

Switching between workspaces in the multi-workspace using the project search ends up outside key contexts #52533

@JonGretar

Description

@JonGretar

Reproduction steps

  1. Start Zed Nightly
  2. Add two workspaces to the new MultiWorkspace
  3. Toggle the recent project panel and switch between the workspaces
  4. Try to use the keyboard.

Sometimes happens on the first time you switch between projects. Sometimes it takes a couple times.

Current vs. Expected behavior

When I use the recent project switcher to jump between open workspaces I end up in some state where nothing is focused. Then no keyboard action works until I click on anywhere in the zed window to set the active context.

  • This does not happen when switching between workspaces using multi_workspace::PreviousWorkspace or multi_workspace::NextWorkspace.
  • This happens with projects::OpenRecent either when using a keymap to activate, or when using the top bar button.
  • The keyboard context window displays no Current Context Stack, but recognizes the keypresses. Just can't match them to any actions as the Workspace context isn't even active.
Screen.Recording.2026-03-26.at.22.32.27.mov

Zed version and system specs

Zed: v0.231.0+nightly.2341.a3d72e542756d7f50e8067234dac1168a2da8acd (Zed Nightly a3d72e5)
OS: macOS 26.3
Memory: 24 GiB
Architecture: aarch64

Attach Zed log file

No response

Relevant Zed settings

No response

Relevant Keymap

No response

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:controls/keybindsKeyboard shortcuts, mapping, binding, keymaps, etccommunity championIssues filed by our amazing community champions! 🫶frequency:uncommonBugs that happen for a small subset of users, special configurations, rare circumstances, etcpriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduce

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions