[Windows] Opening with deep link duplicates projects #8252

Open
opened 2026-02-16 18:09:31 -05:00 by yindo · 1 comment
Owner

Originally created by @Rettend on GitHub (Feb 1, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

This PR added the deep link for the desktop app: https://github.com/anomalyco/opencode/pull/10072
where I fixed this specific case but that change ended up being removed before the merge.

I think it would be better to fix Windows path issues once and for all.

Plugins

No response

OpenCode version

v1.1.48

Steps to reproduce

Opening a project with ctrl+o and the deep link opens the project twice, I see this in the sidebar:

  • C:/Users/user/Documents/GitHub/repo
  • ~\Documents\GitHub\repo

This is both a project path bug and a display bug with the sidebar.

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

No response

Originally created by @Rettend on GitHub (Feb 1, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description This PR added the deep link for the desktop app: https://github.com/anomalyco/opencode/pull/10072 where I fixed this specific case but that change ended up being removed before the merge. I think it would be better to fix Windows path issues once and for all. ### Plugins _No response_ ### OpenCode version v1.1.48 ### Steps to reproduce Opening a project with `ctrl+o` and the deep link opens the project twice, I see this in the sidebar: - `C:/Users/user/Documents/GitHub/repo` - `~\Documents\GitHub\repo` This is both a project path bug and a display bug with the sidebar. ### Screenshot and/or share link _No response_ ### Operating System Windows 11 ### Terminal _No response_
yindo added the windowsbugweb labels 2026-02-16 18:09:31 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 1, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #5638: Desktop app: opening multiple git worktrees from the same repo replaces existing project (same root cause - project path handling issues)
  • #6696: Project ID collision when repos cloned from same source share sessions (related project identification issue on Windows)
  • #7229: On Windows, the project sidebar displays full paths instead of just folder name (related path display bug on Windows)

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Feb 1, 2026): This issue might be a duplicate of existing issues. Please check: - #5638: Desktop app: opening multiple git worktrees from the same repo replaces existing project (same root cause - project path handling issues) - #6696: Project ID collision when repos cloned from same source share sessions (related project identification issue on Windows) - #7229: On Windows, the project sidebar displays full paths instead of just folder name (related path display bug on Windows) Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8252