On Windows, the project sidebar in the desktop app displays full paths (e.g., C:\Users\{name}\...\project-name) instead of just the folder name #4375

Closed
opened 2026-02-16 17:43:36 -05:00 by yindo · 1 comment
Owner

Originally created by @0xajka on GitHub (Jan 7, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

On Windows, the project sidebar displays full paths (e.g., C:\Users{name}...\project-name) instead of just the folder name

Root Causes:

getFilename() utility (packages/util/src/path.ts:1-6) only splits paths by /, which doesn't work on Windows where the separator is .

Plugins

No response

OpenCode version

1.1.4

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

Windows 10

Terminal

No response

Originally created by @0xajka on GitHub (Jan 7, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description On Windows, the project sidebar displays full paths (e.g., C:\Users\{name}\...\project-name) instead of just the folder name Root Causes: getFilename() utility (packages/util/src/path.ts:1-6) only splits paths by /, which doesn't work on Windows where the separator is \. ### Plugins _No response_ ### OpenCode version 1.1.4 ### Steps to reproduce _No response_ ### Screenshot and/or share link <img width="336" height="166" alt="Image" src="https://github.com/user-attachments/assets/a294b4b3-f90c-4c8d-939a-048004edc21b" /> ### Operating System Windows 10 ### Terminal _No response_
yindo added the windowsbugweb labels 2026-02-16 17:43:36 -05:00
yindo closed this issue 2026-02-16 17:43:36 -05:00
Author
Owner

@0xajka commented on GitHub (Jan 9, 2026):

Fixed in v1.1.8

@0xajka commented on GitHub (Jan 9, 2026): Fixed in v1.1.8
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4375