Cursor fails to fully initialize workspace when restoring a “Working Tree” tab from previous session

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When reopening Cursor with session restore enabled, if the last active editor tab was a Git “Working Tree” view, Cursor launches in a partially broken state.

Steps to Reproduce

Open a Git repository in Cursor.
Open a file through the Git “Working Tree” view so the editor tab displays: filename (Working Tree) with a change
Ensure this tab is the active tab.
Exit Cursor.
Reopen Cursor.
You will see that the terminal does not load, and the windows keeps loading (see screenshot attached)

Expected Behavior

Cursor should restore the previous session normally, including:

Proper Git provider initialization
Functional Source Control panel
Integrated terminal loading correctly
All sidebar/panel views initializing normally

Restoring a Working Tree tab should not prevent workspace services from loading.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 3.3.30
VSCode Version: 1.105.1
Commit: 3dc559280adc5f931ade8e25c7b85393842acf30
Date: 2026-05-09T18:28:42.332Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.4.0

For AI issues: which model did you use?

N/A

For AI issues: add Request ID with privacy disabled

N/A

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the clear report with steps to reproduce, it really helps.

This is a known issue. Restoring the Working Tree or Git diff tabs can block workspace initialization, so the terminal and SCM panels don’t load. We’re tracking the issue, but there’s no exact ETA for a fix yet.

For now, the workaround is to close the Git diff and Working Tree tabs before quitting Cursor. After the next launch, everything should load normally.

If you’re already stuck in a frozen window, Cmd+Shift+P then Developer: Reload Window usually won’t help because it restores the same session. What can unblock it is using File > Open Recent while holding Option, or temporarily disabling session restore by setting "window.restoreWindows": "none" in settings.json.

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

If a project is closed while the WorkingTree (Git Diff) view and the Terminal are both open, re-opening Cursor causes the UI to break. Both the Terminal and WorkingTree fail to render properly, leaving the project interface blank or completely white.

This has been highly disruptive, forcing me to downgrade to version 2.6. However, Cursor’s auto-update feature repeatedly forces the update back to version 3, requiring me to constantly re-download and re-install version 2.6.

Steps to Reproduce

Environment: M3 Mac, macOS 14.8.5 (23J423), Cursor v3

Open a React project.

Go to the Source Control (Git) tab and click on any modified file to open the WorkingTree view.

Open the Terminal.

Close Cursor by clicking the close button in the top-left corner.

Re-open Cursor.

Expected Behavior

The IDE should restore the previous session’s layout (WorkingTree and Terminal) correctly. The Terminal should be responsive, the WorkingTree should load immediately, and the Git plugin/Extensions should function normally without freezing the UI.

Actual Result: The WorkingTree hangs indefinitely on a loading state and the Terminal becomes completely unusable. Even after closing or killing the terminal instance, it cannot be recovered. All extensions and Git features break entirely.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 3.5.33
VSCode Version: 1.105.1
Commit: aac81804b986d739acab348ed96b8bea6e83cc50
Date: 2026-05-22T06:47:48.039Z (3 days ago)
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 23.6.0

Additional Information

Trigger Condition: The issue only occurs when both the Terminal and the WorkingTree view are open at the same time when the application is closed. If either one is closed before quitting, the layout loads normally upon restart.

Does this stop you from using Cursor

Yes - Cursor is unusable

In fact, this issue has existed since version 3.0, but a stable reproduction path was only discovered recently.

Although I can fix it by closing the working tree and reopening the project, this kind of bug is really annoying.

Hey @Fengyu_Tian, this is a known bug, it’s the same case as in post #1. We’re tracking the issue on our side. I can’t share an exact ETA yet, but I’ll post an update in this thread as soon as I have one.

Until it’s fixed, the most reliable workaround, like you noticed, is to close the Working Tree or Git diff tab before quitting Cursor. Based on what we’ve seen, this workaround works consistently across all reports.

If you’re already stuck with a frozen window, try File > Open Recent while holding Option, or temporarily set "window.restoreWindows": "none" in settings.json. That should let Cursor start without restoring the previous session.

Hey there!

We have merged a fix and are cherry-picking it back to 3.6. Please try again in a day or two (3.6.35+, not available yet) and let us know if the issue persists.