Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Description
When switching working directories or starting Cursor, if the previously opened latest file is located in xxx (working tree) or xxx (index), Cursor gets stuck on the file loading page indefinitely.
This issue does not occur when the previously opened file is xxx - that file loads normally.
Steps to Reproduce
Open Cursor with a file in xxx (working tree) or xxx (index)
Close Cursor
Reopen Cursor OR switch to a different working directory
Cursor attempts to restore the previous session
Application hangs on the file loading screen showing the problematic file
Expected Behavior
Cursor should either:
Successfully load the previously opened file, OR
Gracefully skip loading the file and open without hanging
Operating System
MacOS
Version Information
Version: 3.0.16
VSCode Version: 1.105.1
Commit: 475871d112608994deb2e3065dfb7c6b0baa0c50
Date: 2026-04-09T05:33:51.767Z (6 天前)
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.2.0
Does this stop you from using Cursor
No - Cursor works, but with this issue

