Cursor failed to open IDE by default

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor failed to open IDE by default even with “Last Used Windows” selected and I never use agent window with the newest update.

Please add IDE by default option for “Window Restoration”.

Thanks!

Steps to Reproduce

Open cursor and it always start with Agent Window

Expected Behavior

Open cursor and it always start with Agent Window even last used window is IDE

Operating System

Windows 10/11

Version Information

Version: 3.12.30 (user setup)
VS Code Extension API: 1.128.0
Commit: 63a2996a10d9e476b6c28e951dd7691d9c0cf480
Date: 2026-07-21T22:50:03.568Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

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.

Hey there,

Thanks for the update. The issue has been resolved. Thank you so much for the support!

Cheers!