Skip to content

[Bug]: Open in editor is hidden for threads in the WSL environment when Windows is the primary #25427

Open

Description

@vkhamianok

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. On the Windows desktop app, open Settings → Connections, set WSL backend to a distro (Ubuntu here), and leave WSL only off, so the Windows and WSL backends both run.
  2. Add a project in the WSL environment and start a thread there, for example in a new worktree.
  3. Open the thread details panel (Ctrl+Shift+B) or press Ctrl+O.

Expected behavior

The panel shows Open in <editor> and Ctrl+O opens the thread's folder or worktree in the editor, the same as for threads in the Windows environment.

Actual behavior

The thread details panel has no editor control, and Ctrl+O does nothing. There is no way to open a WSL project or worktree in an editor from T3 Code in dual mode. I had to find the worktree path (~/.t3/worktrees/<repo>/<id> inside the distro) and run code on it by hand.

shouldShowOpenInPicker in apps/web/src/components/chat/OpenInPicker.logic.ts shows the picker for the primary environment, and otherwise only when remoteOpenMode !== "local-exec". resolveRemoteOpenState in apps/web/src/remoteOpen.ts returns LOCAL_EXEC for a desktop-local target (isDesktopLocalConnectionTarget), which is what the WSL environment is in dual mode. So no branch shows the picker for WSL threads, and useOpenFavoriteEditorShortcut is disabled by the same flag.

History

Impact

Minor bug or occasional failure

Version or commit

0.1.2 (Windows desktop); logic unchanged on main @ 242d00c

Environment

Windows 11 Pro 26200, WSL Ubuntu 24.04.3 (x86_64), VS Code 1.141.0 with the WSL extension. code resolves inside the distro through Windows PATH interop.

Workaround

Open the folder by hand: code <path> from the distro, or code --remote wsl+Ubuntu <path> from Windows.

Activity

  1. WojakGra commented on Oct 30, 2026

    @WojakGra

    Still reproduces on 0.1.5 (Windows desktop app), confirmed via t3 triage.

    Environment

    • Version: 0.1.5 (Windows desktop, local server reports serverVersion 0.1.5, desktop-managed)
    • OS: Windows 11 Pro 10.0.26200, x64
    • Project added via a \wsl.localhost<distro>... path; threads in Windows-path projects show the Open in picker, threads in the WSL project do not
    • VS Code installed on the Windows host and on PATH

    Diagnosis
    Same root cause as described above, verified against the v0.1.5 tag (6d450a4): shouldShowOpenInPicker in apps/web/src/components/chat/OpenInPicker.logic.ts only shows the picker for the primary environment or a non-local-exec remote, and resolveRemoteOpenState in apps/web/src/remoteOpen.ts returns LOCAL_EXEC for the desktop-local WSL target. OpenInPicker.logic.ts is unchanged on main as of 2026-10-30 (latest nightly 0.1.6-nightly.20261030.3917), so updating won't help yet.

    Workaround in use: code --remote wsl+ from Windows, or code . inside the distro.

    Comment drafted by Claude Code (Claude Opus 5.5) via t3 triage.

  2. lbzepoqo commented on Nov 11, 2026

    @lbzepoqo

    Still reproduces on 0.1.9-nightly.20261111.4515: Windows desktop, WSL backend on Ubuntu 24.04, WSL only off. WSL threads have no Open in control; Windows threads do. #21661 doesn't seem to cover it, since the WSL backend uses the distro's own T3 home, not the desktop's.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions