Where does the bug appear (feature/product)?
-
Cursor IDE (Agents and Editor windows)
-
Cursor CLI
-
Background Agent (GitHub, Slack, Web, Linear)
-
BugBot
-
Somewhere else…
Describe the Bug
Clicking the Open Editor Window button on an agent in the Agents Window focuses an already-open editor window that has nothing to do with that agent’s workspace or worktree, instead of opening a new editor window scoped to the agent.
Steps to Reproduce
Setup when it reproduces
-
Number of agents open: 3
-
Repos / worktrees:
-
Agent 1 → single repo
-
Agent 2 → multi-root workspace with 5 repos
-
Agent 3 → single repo
-
-
Plus one pre-existing editor windows opened on the repo of agent 3.
Reproduction
-
Open Cursor with at least one existing editor window for some unrelated workspace.
-
From the Agents Window, have multiple active agents on different repos / worktrees (as above).
-
On any agent’s panel, click Open Editor Window.
Expected Behavior
-
A dedicated editor window opens (or is focused) for that agent’s workspace / worktree.
-
N agents across different repos/worktrees → N editor windows side by side, each on the correct workspace.
Actual Behavior
-
No new window is opened.
-
Cursor focuses whichever existing editor window VS Code’s window manager has already opened — often completely unrelated to the agent I clicked from.
-
The focused window is still pointed at its own workspace, not the agent’s. So I end up looking at the wrong repo’s code after clicking the editor button on a totally different agent.
-
Effect: it’s impossible to have multiple agents in different repos each with their own editor window — clicking the button on agent #2, #3, … just re-focuses the same stale window.
Operating System
-
Windows 10/11
-
MacOS
-
Linux
Version Information
Cursor: 3.4.20
VSCode base: 1.105.1
Commit: 0cf8b06883f54e26bb4f0fb8647c9500ccb43310 (2026-05-15)
Layout: glass · Build: Stable · Release: Default
Electron 39.8.1 · Chromium 142.0.7444.265 · Node 22.22.1 · V8 14.2.231.22-electron.0
OS: macOS 25.4.0 (Darwin arm64)
Additional Information
Add any other context about the problem here.
Does this stop you from using Cursor?
-
Yes - Cursor is unusable
-
Sometimes - I can sometimes use Cursor
-
No - Cursor works, but with this issue