"Open New Window in Worktree" produces error for WSL2 Project Paths

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor produces an error dialog that worktree “Path does not exist” when worktrees are generated for a WSL2 project and you attempt to open a worktree in a new cursor window.

Steps to Reproduce

Given

  • Cursor IDE is connected to a WSL2 filesystem workspace / project
  • Project is a git repository with worktree support
  • You opened a new chat, selected worktree instead of Local and selected multiple models and prompted the agent to make some changes to the project

When:

  • Selecting a worktree result
  • Clicking the hidden … menu to the right of the worktree branch and model name
  • Clicking menu option “Open new window in worktree”

Observed Bug:

Cursor shows an error dialog that the path does not exist and the path in the error dialog is a path with windows path separators starting from home. Effectively it’s trying to open the WSL2 path as if it were a path on the host operating system.

Expected Behavior

Cursor opens a new cursor IDE instance with the WSL2 worktree file path loaded as the workspace path

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.43 (system setup)
VSCode Version: 1.105.1
Commit: 32cfbe848b35d9eb320980195985450f244b3030
Date: 2025-12-19T06:06:44.644Z
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.26100

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Definitely related!

Thanks for finding that thread – I suggest carrying the convo on over there!

What is in your .cursor/worktrees.json?

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.