Skip to content

Web frontend "open project" on Windows only lists user folder and fails for absolute/relative paths #7597

Closed as duplicate

Description

@truemogician

Description

In web/server mode on Windows, the "Open Project" button only shows subfolders of the user's home directory (%UserProfile%). Entering absolute paths (e.g., C:\path\to\project) or relative paths returns no results - the dialog never finds the folder.

Suggested Fixes

  1. Backend path normalization and resolution
    Resolve and normalize the path from user input before calling the directory listing API.
  2. Use a native/browser directory picker on the frontend
    Use File System Access API (showDirectoryPicker) or a standard fallback so the browser opens a native directory selection dialog, avoiding manual path parsing and improving UX.

Plugins

oh-my-opencode

OpenCode version

1.1.11

Steps to reproduce

  1. Run opencode web on Windows.
  2. Click "Open project".
  3. Type any absolute path

Screenshot and/or share link

No response

Operating System

Windows 11 Enterprise

Terminal

Windows Terminal

Activity

  1. github-actions commented on Jan 10, 2026

    @github-actions
    Contributor

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

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

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktopwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions