Closed agent tabs reopen on launch; idle tabs reload/scroll to top of chat

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Version: 3.12.17
VSCode: 1.128.0
Commit: 0fb762053c34788bb7760d5673f8a6d4c8589d50
Date: 2026-07-17
OS: Darwin arm64 25.6.0
Bug 1 — Closed tabs restore on open

  1. Open a project with several agent/chat tabs
  2. Close some tabs intentionally
  3. Quit Cursor completely and reopen the project
    Expected: Only tabs left open remain
    Actual: Previously closed tabs reopen
    Bug 2 — Idle tab reloads from top
  4. Scroll mid/late in a long agent chat
  5. Leave that tab idle for a few minutes (or switch away)
  6. Return to the tab
    Expected: Scroll position preserved (or at latest message)
    Actual: Chat remounts/reloads from the top of the prompt/thread
    Notes:
  • Confirmed not caused by local settings (no window.restoreWindows / chat restore overrides)
  • Project is not in iCloud Desktop/Documents
  • Matches known reports around closed-tab restore and chat scroll reset

Steps to Reproduce

Bug 1 — Closed tabs restore on open

  1. Open a project with several agent/chat tabs
  2. Close some tabs intentionally
  3. Quit Cursor completely and reopen the project
    Expected: Only tabs left open remain
    Actual: Previously closed tabs reopen
    Bug 2 — Idle tab reloads from top
  4. Scroll mid/late in a long agent chat
  5. Leave that tab idle for a few minutes (or switch away)
  6. Return to the tab
    Expected: Scroll position preserved (or at latest message)
    Actual: Chat remounts/reloads from the top of the prompt/thread

Expected Behavior

  1. Should only open previously opened tabs when you close Cursor IDE.
  2. Switching tabs back shouldn’t load the tab back on top of the first prompt.

Operating System

MacOS

Version Information

Version: 3.12.17
VSCode: 1.128.0
Commit: 0fb762053c34788bb7760d5673f8a6d4c8589d50
Date: 2026-07-17
OS: Darwin arm64 25.6.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @Alerto24

Both of these are known issues we’ve seen widely reported, and each is tracked separately on our side (no ETA I can share yet):

  1. Closed tabs reopening after quit + relaunch - this is a known chat-tab persistence bug. There’s an active thread with more context and the current workaround here: Cursor re-opens closed chat tabs on each launch. The temporary reset is to fully quit Cursor and delete the project’s folder under Cursor/User/workspaceStorage. Important: back that folder up first - it holds that project’s chat history and workspace settings, so deleting it wipes that data. It only clears the stuck state until tabs pile up again, so it’s more of a reset than a fix.

  2. Returning to an idle tab scrolling to the top - also known, tracked here: Chat view scroll position resets when switching between conversations. There isn’t a setting that preserves scroll position today; keeping the tab active (rather than letting it idle or switching away) can avoid the remount that resets it.

I’ve added your report to what we’re tracking for both. Since each already has an active thread above, following those is the best way to catch updates - I’ll consolidate tracking there so nothing gets split across threads.