New session always opens in last used project directory instead of selected one

Resolved 💬 3 comments Opened Apr 17, 2026 by g-serio Closed May 25, 2026

Bug Report

Version: Claude Code Desktop App

OS: Windows 11 with WSL2 (Ubuntu)

Description

When creating a new session in the Claude Code desktop app, the session always opens in the last used project directory (e.g. npm-jpcore) regardless of which directory is selected or added during session creation.

Steps to Reproduce

  1. Have an existing project open (e.g. npm-jpcore)
  2. Click "New session"
  3. Add/select a different directory (e.g. /home/dev/temp/santa1)
  4. Confirm session creation

Expected Behavior

The new session should open in the newly selected directory (/home/dev/temp/santa1).

Actual Behavior

The new session opens in the previously used project directory (npm-jpcore) instead of the one selected.

Impact

It is impossible to start a session on a directory other than the last used project from the desktop app UI. The only workaround is to run claude from the terminal inside the target directory.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗