“Open Chat as Editor” causes permanent black screen when reopening project

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Hello Cursor Support Team,

I would like to report a critical bug in the Cursor IDE that renders a project completely unusable.

Issue Description:
When using a Chat and clicking the three-dot menu, then selecting “Open Chat as Editor”, the following happens:

The chat remains in the same window and remains stuck on “Loading Chat” indefinitely.

The chat cannot be closed afterward (the X is not working / close all chat doesn’t help).

At this point, the rest of the IDE still appears to work.

Severe Follow-up Issue:
After restarting Cursor and reopening the same project folder, a major UI failure occurs:

Cursor shows a complete black screen inside the IDE.

No text, UI elements, or clickable areas are visible.

The application becomes entirely unusable for that folder.

Restarting Cursor again does not resolve the issue.

Limited Workaround:

The only way to regain usability is to open a different folder.

The affected project folder remains broken and cannot be used anymore and needs to be deleted.

Impact:

Active projects become inaccessible

Significant productivity loss (loosing the chathistory from other chats)

Very disruptive in daily development work

Thank you for your support.

Best regards,
Nico

Steps to Reproduce

press “new agent” and in the new chat window on the more option / three dots and then on “Open Chat as Editor”. Try closing the Chat (shouldn’t work) and restart cursor (and open the same project)

Expected Behavior

“Open Chat as Editor” should load correctly as before.
Reopening a project folder should never result in a total UI black screen.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.3.34 (user setup)
VSCode Version: 1.105.1
Commit: 643ba67cd252e2888e296dd0cf34a0c5d7625b90
Date: 2026-01-10T21:17:10.428Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

Yes - Cursor is unusable

1 Like

Yes. This happened with me too.

Checkout this thread [Recommended]: Open chat as editor bug - #3 by deanrie

Solution that worked for me:

  • Uninstall the cursor
  • Take a backup of C:/Users//.cursor directory (If you have plans, rules, commands, etc. that you don’t want to lose)
  • Remove all data
    rd /s /q “%AppData%\Cursor”
    rd /s /q “%LocalAppData%\Cursor”
    rd /s /q “%UserProfile%.cursor”
    del /f /q “%UserProfile%.cursor*”
  • Fresh reinstall cursor

And avoid using “Open chat as editor”. It’s buggy and is causing issues. You can try dragging the chat tab to editor window as a workaround.

You can also try this if that doesn’t works.

While trying to reproduce this, it completely borked my Cursor install. :cry:

Seems to only happen when opening a new chat as an editor before it has any content. Was that your experience as well @ashish8545?

Will file a bug with the team.

Well @Colin, the bug that @Nicolas_Ziegler reported, I faced it when I was connected with remote SSH to a linux machine. Cursor was updated from 2.2.x to 2.3.x. The directory was open and I tried “Open chat as editor” and it went into loading state.
Next time when I was trying to remote SSH and open the same directory it was going black just like it is reported above. So, I need to select the parent directory when we do “Open Folder” and it loaded.

And so, I completely removed cursor and it’s related files from my windows machine and from the remote Linux machine removed ~/.cursor-server and ~/.cursor

Fresh installed Cursor, connected with SSH to my Linux machine and opened the same directory (which I was unable to open and was going black) and it worked!

So that’s my overall experience.
Still “Open chat as editor” isn’t working as it should. I have raised a topic for same here - Duplicate chat panels shown when "Open chat as editor" is enabled + add icon creates tab in wrong panel
Although, I never mentioned this issue in any thread because I thought it might be own issue.

It looks like the state.vscdb file was corrupted by the “Open Chat as Editor” feature. Here’s a potential workaround:(this won’t affect your Cursor settings for other projects):

Steps to resolve:

  1. Locate and backup your workspace storage:

    • Navigate to: %AppData%\Cursor\User\workspaceStorage\ Iterate through each <hashcode> subdirectory

    • Open the workspace.json file in each directory

    • Look for the one containing your project path to identify the correct directory

    • Locate the state.vscdb, state.vscdb.backup file in the correct directory

    • Rename them to create a backup (e.g., state.vscdb.backup.bb)

  1. Reset the workspace state:

    • Reopen your project in Cursor

    • A fresh state.vscdb file will be automatically created

  2. Recovery question:

    • Does anyone know how to recover chat history from the backed-up state.vscdb file?