Repository navigation
Description
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
- 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.
- Add a project in the WSL environment and start a thread there, for example in a new worktree.
- Open the thread details panel (
Ctrl+Shift+B) or pressCtrl+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
- feat: Hosted Frontend, Tailscale Integration & SSH Lancher #2361 limited the picker to the primary environment. Non-primary then meant remote machines, where the primary server's editor list doesn't apply.
- feat(web): open remote environments in your local editor over SSH #6572 added SSH deep links for remote environments and kept WSL hidden on purpose, with the comment: "Non-primary local backends (e.g. WSL) keep it hidden, matching pre-remote behavior." The test
hides the picker for non-primary local backendsencodes this. The comment was later removed in refactor: prune narration and history comments #19559. - feat(web): open WSL projects in your Windows editor #9426 and feat(web): open WSL projects in your Windows editor #14571 showed the picker for the WSL backend and opened the editor from the Windows host through
<scheme>://vscode-remote/wsl+<distro>/<path>, using the host's editor list. They also found that the desktop's external URL allowlist (ElectronShell.ts) only passesssh-remote+links. feat(web): configure editor opening in local WSL #15164 proposed a "Local WSL" setting instead. All three were closed for evidence or size. Closing feat(web): open WSL projects in your Windows editor #14571 and feat(web): configure editor opening in local WSL #15164, a maintainer asked to "preserve the broken WSL editor flow in an issue" and agree on a much smaller fix. I couldn't find that issue, so this is it. - Related: Ideas discussion Treat same-machine saved environments as local for Open in and Reveal in file manager #18515 covers the same "local but not primary" gap for saved environments on the same machine, such as the background service at 127.0.0.1. It doesn't cover WSL.
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
WojakGra commentedon Oct 30, 2026
Still reproduces on 0.1.5 (Windows desktop app), confirmed via t3 triage.
Environment
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.
lbzepoqo commentedon Nov 11, 2026
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.