Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
I was curious about the new blue “Agents Window” button in the top right corner, so I clicked it.
It opened a new window with the Agents mode which I did not want so I closed it. It asked me whether I wanted to save my workspace configuration file and since I did not want to save any new workspace and just return to the old one, I clicked “Don’t Save”.
But when the “Agents” window closed, my current workspace in the Editor window below got closed too and I cannot see my conversations in the Chat History any more.
I never saved my workspace before because I did not know that the Chat History is part of the workspace.
When I open the Agents window again, I can see that the workspace.json with my chat history still kind of is there but when I right click and select “Open in Editor Window”, I get error that the workspace.json does not exists.
And indeed, the ~/.config/Cursor/Workspaces/ directory is empty. ![]()
Steps to Reproduce
- Open Cursor in Editor mode
- Open directory as project
- Add another directory into the workspace
- Start some chat with agent
- Click on the blue “Agents Window” button in the top right
- Close the newly opened window
- Click “Don’t save” when asked to save the (supposedly new) workspace
- Watch your directories and Chat history in the Editor window disappear
Expected Behavior
Closing the Agents window should not cause closing of workspace in the Editor window.
Also, why I can still see my old workspaces in the Agents window but they are nowhere to be found on the disk?
Screenshots / Screen Recordings
Operating System
Linux
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: Linux x64 7.0.4-100.fc43.x86_64
Does this stop you from using Cursor
No - Cursor works, but with this issue
