After some time, clicking on any tab on any window other than the main editor window will immediately activate a different window, making all windows other than the main editor almost impossible to use.
Steps to Reproduce
Open a new editor window.
Open several tabs.
Move tabs to another window.
Wait. (Usually takes an hour or three. Reloading the workspace may help.)
Click on a tab in any window other than the main one.
Result: Another window will immediately activate and be brought to the front, seemingly chosen at random. (Though tabs within any given window consistently map to the same wrong window for the duration of the bug.)
This effectively makes cursor unusable, unless you work entirely within a single window. This is easily enough of a headache to push me back to standard VS Code.
Hi @deanrie I wanted to add a bit more context in case it helps, though I’m not completely certain about the exact trigger since I was testing this on Windows in a clean workspace.
I was able to reproduce the issue by opening multiple windows (6–7), moving tabs between them, then performing selective Reload Window operations on some (but not all) windows. After that, clicking a tab in one secondary window consistently activated a different specific window instead. The behavior wasn’t random each affected window seemed to map consistently to the same incorrect target window.
There were no relevant errors in DevTools when the focus jump occurred, which makes me think this may not be an exception or rendering issue, but rather a window focus routing or window ID desynchronization problem possibly related to how BrowserWindow instances are registered or restored after partial reloads.
If that’s directionally correct, one possible area to inspect could be the window registry / focus resolution logic after reload events, especially in multi-window scenarios where some windows are reloaded and others are not.
Not 100% sure this is the root cause, but hopefully the reproduction pattern and observation about the consistent window mapping help narrow it down.
@Michael_227@fscm44xyz Could you please include your version/system information (Cursor > About Cursor or Help > About) like @abarnat did above? It would help us figure out if it’s specific to a version, an OS, etc.