New Active Window losing actions focus

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

There is a bug when you have active window open for given project and making actions on second window triggers action on first window instead of first one. I have attached short video.

Steps to Reproduce

  • Use “Move into New Window”
  • Do not lock group in new window
  • Try to do actions in new window.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 3.22.12
VS Code Extension API: 1.128.0
Commit: 3a92974361033b2051526321308c2740fe5912c0
Date: 2026-09-26T04:55:12.125Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 42.10.0
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Darwin arm64 25.6.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @darnok, thanks for the report and the video!

From the recording, the action that jumped windows was the “View File History (Commits)” button. That button comes from a Git history extension, not from Cursor itself. Its commit list is a sidebar view, and sidebar views always open in the main window because a moved-out editor window has no sidebar of its own. Where the extension opens its history tab is up to the extension too.

To narrow down whether this goes beyond that extension, could you try this?

  1. Restart Cursor and open your project.
  2. Open any file, right-click its tab and choose “Move into New Window”.
  3. Click inside the editor in the new window.
  4. Press Cmd+P, type the name of a different file and press Enter.
  5. Still in the new window, right-click a function or variable name and choose “Go to Definition”.

Do the files from steps 4 and 5 open in the new window or the original one?

Also, which extension provides that “View File History (Commits)” button (you can see it in the Extensions view), and does the same thing happen with that extension in VS Code?