Description When a file tab is dragged out of the main window to create a new separate window, all subsequently opened files are routed to this new secondary window as tabs. This occurs regardless of which window currently holds the focus.
Steps to Reproduce
-
Open Antigravity and open any file.
-
Drag the file’s tab outside the main window to detach it and create a secondary window.
-
Place focus on the main window.
-
Open a new file.
Expected Behavior The newly opened file should open as a tab in the currently active/focused window (the main window).
Actual Behavior The newly opened file consistently opens as a tab in the detached secondary window, ignoring the current window focus.
Environment
-
Antigravity Version: 1.19.6
-
VSCode OSS Version: 1.107.0 (user setup)
-
Commit: d2597a5c475647ed306b22de1e39853c7812d07d
-
Date: 2026-02-26T23:07:23.202Z
-
Electron: 39.2.3
-
Chromium: 142.0.7444.175
-
Node.js: 22.21.1
-
V8: 14.2.231.21-electron.0
-
OS: Windows_NT x64 10.0.26200
-
Language Server CL: 875890115