Linux: cannot add another folder to an existing multi-root workspace (3.18.9)

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cannot add a third directory to an already-open multi-root workspace.

Steps to Reproduce

Open a window with two folders already added (two git repos).

File → Add Folder to Workspace… or command palette Workspaces: Add Folder to Workspace…

Try to add another directory.

Operating System

Linux

Version Information

Cursor: 3.18.9 (2ba48ff3f7514cc4643c52ca9f7b3173d9b66130)

Install: Debian package cursor 3.18.9-1787797867 amd64 (not AppImage)

OS: Ubuntu Linux 6.8.0-107-generic x86_64

Workspace: untitled multi-root (no saved .code-workspace)

/home/zhihu/workspace/vip-gitlab/VipAndroid

/home/zhihu/workspace/react-git/pikachu

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey @DavidLiu, thanks for the report.

To narrow this down, could you try the following and tell us what happens when you try to add the folder? Does the file picker window open at all? Does it open but the selected folder never gets to the workspace?

The more details you can provide the more we can dig in!



my add new folder km-attention and save it. open worskspace again, no have km-attention. 100% appear。
This is the case for both Mac and Linux systems. I am unable to add.

Hi @DavidLiu!

Thanks for the additional information.

What I’m able to reproduce is that when:

  • I have an existing workspace with one folder
  • And I add a new one
  • Instead of updating the existing workspace, a new one appears

That does seem unexpected, and something I’ll share with the team. Is there anything I’m missing from what you’re experiencing?

Got it, I can confirm that I’m seeing the exact same behavior on my side as well.

Thanks for explaining what might be happening under the hood! I don’t have any other issues or questions for now.