Hey, thanks for the report. This is a known bug. With Last Used Windows, Cursor restores the previous session, and if the Agents Window was open or active when you quit, it gets recreated every time, so you end up in a loop. The issue is already being tracked, but I can’t share an exact fix date yet.
For now, there’s a workaround to break the loop:
In Agents Window, press Ctrl+Shift+P and run Open Editor Window.
Close Agents Window so it doesn’t stay in the session.
Quit Cursor from the editor window.
After that, with Last Used Windows, the next launches should open in the IDE.
Another option is to always launch the classic window from the command line, for example cursor -n <folder> or the --classic flag.
I’ve also passed along a request for an Editor Window always option under Window Restoration. Let me know if the workaround didn’t help.
Hey @G_L, small update on this thread. We tracked down and fixed the issue where Cursor would open the Agents Window on launch even if Last Used Windows was selected, even when the last window was the IDE window. The fix is coming in the next release, Cursor 3.14. You’re currently on 3.12.30, so please update to that version when it’s available and check again.
Until then, the workaround is the same:
In Agents Window, press Ctrl+Shift+P and run Open Editor Window.
Close Agents Window so it doesn’t stay in the session.
Quit Cursor from the editor window.
After that, with Last Used Windows, the next launches should open in the IDE. As an alternative, you can start the classic window from the command line with cursor -n <folder> or the --classic flag.
I also passed along a request for a separate Editor Window always option in Window Restoration, but I can’t promise it yet. Let me know if the issue is still there after you update.