New name of workspace

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Editing workspace name does not change name in agent window

UPD also new folders are not indexed

UPD2 As I get it, when I use plus it creates thread of old name and workspace

Steps to Reproduce

  1. Click edit workspace
  2. Change workspace’s name
  3. Click plus in bar

Expected Behavior

Expected New name above textflield
Actual Old name

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

Version: 3.17.8 (user setup)
VS Code Extension API: 1.128.0
Commit: 2fdd31c9f33f7fbe501f2d57772dc5bf64b63620
Date: 2026-08-20T02:18:12.724Z
Layout: Agent Window
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.291
OS: Windows_NT x64 10.0.19045

Does this stop you from using Cursor

No - Cursor works, but with this issue

Also when adding workspace it will be useful if on hover when attaching folder whole path shown

Moreover, searching when you choose multiple projects in workspace does not wok correctly. Because you can’t select it after searching

Hey @userworld!

I’m having trouble tracking exactly what changes you’re making where. Could you share a short screen recording to help us nail this down?

Not sure if it’s the same issue, but I’m noticing I can’t rename a workspace folder in Cursor Desktop sidebar. There appears to be an editable field to let me change a workspace name, but when I input a changed name, the “Save” button isn’t clickable.

There is this bug with renaming old projects

Cursor_UDyeLj1Wyy

Sometimes it opens new workspace somehow

Cursor_dqozNEqAJu

Adding a macOS reproduction with additional symptoms not covered above. This is blocking workspace management for multi-repo setups.

Environment

  • OS: macOS (darwin 24.6.0)
  • Layout: Agent Window / Glass multi-root workspace
  • Workspace config path: ~/Library/Application Support/Cursor/glassMultiRootWorkspaces/供票系统全栈.code-workspace
  • Folders: 4 repos on external exFAT volume /Volumes/移动硬盘/...

Symptoms (beyond rename not sticking)

1. Save fails with explicit error

Click Edit Workspace → change name → Save shows:

Could not save this workspace. Try again.

This is worse than Save being disabled — the UI accepts input but persistence fails.

2. Edit dialog shows WRONG auto-generated name (not the saved filename)

  • Actual filename on disk: 供票系统全栈.code-workspace
  • Edit Workspace dialog shows: echain-cloud-featu-个人知识库-plus-2

The dialog does not read the .code-workspace filename. It auto-generates a name from folder list:

  • first folder truncated + second folder + -plus-N for remaining folders

So users see three different names: sidebar label, edit dialog, and filesystem — with no single source of truth.

3. .code-workspace has no name field

File only contains folders[] with fragile relative paths like:

"path": "../../../../../../Volumes/移动硬盘/代码库/git/echain-cloud-feature-chuantou-drill"

Display name is entirely derived from filename, but Edit UI ignores it.

Steps to Reproduce

  1. Create multi-root workspace (4 folders) via Agents Window, name it e.g. 供票系统全栈
  2. Open workspace later → Edit Workspace
  3. Observe name field shows auto-generated echain-cloud-featu-个人知识库-plus-2 instead of 供票系统全栈
  4. Change name to anything → click Save
  5. Result: red error “Could not save this workspace. Try again.”

Workaround (manual only)

Quit Cursor → rename .code-workspace file in glassMultiRootWorkspaces/ manually → reopen.

Severity

High — workspace rename/edit is completely broken on macOS for glass multi-root workspaces. Users cannot manage workspace identity without filesystem hacks. Combined with external-volume path validation, this makes multi-repo Agent workflows unreliable.

@Colin — happy to provide screen recording if needed. This appears related to #169054 but the save failure + name desync are distinct regressions worth tracking separately.

— LingQi_Meng


UPDATE — Clarification (rename succeeded, UI display is wrong)

After further investigation, the root issue is refined:

What actually works

  • Workspace was named 供票系统全栈 at creation — this saved correctly
  • Verified on disk: glassMultiRootWorkspaces/供票系统全栈.code-workspace exists
  • workspaceStorage/.../workspace.json correctly points to this file
  • Workspace functionality (folders, agents) works fine under the correct name

What is broken (the real bug)

This is primarily a UI display desync, not a failed rename:

  1. User sets name to 供票系统全栈file on disk is correct
  2. Re-opening Edit Workspace still shows auto-generated echain-cloud-featu-个人知识库-plus-2 instead of reading the filename
  3. User thinks rename failed, tries to save again → may get “Could not save this workspace” even though the name is already correct
  4. Sidebar / edit dialog can show different names for the same workspace

Revised severity

Medium-High (UX / misleading UI) — persistence at creation works, but the Edit Workspace UI never reflects the saved name. Users cannot trust or manage workspace identity through the UI.

Suggested fix

Edit Workspace should read display name from the .code-workspace filename (or a dedicated name field), not auto-regenerate from folder list on every open.