You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Desktop] File path display incorrectly shows dot prefix on file names instead of directory names #9579
The dot prefix (.) is being incorrectly moved from the directory name to the file names. The actual files on disk are correct (.opencode/commands/analyze-issue.md without dot on filename), only the UI display is wrong.
This appears to be a display bug in the Desktop app's file path rendering logic.
Plugins
None
OpenCode version
1.1.20
Steps to reproduce
Create a directory with dot prefix: .opencode/commands/
Create markdown files WITHOUT dot prefix inside it: analyze-issue.md, plan.md, etc.
Open OpenCode Desktop in this project
Make changes to these files to trigger "Session changes" panel
Observe the incorrect file paths in the panel (dot on files instead of directory)
Screenshot and/or share link
See attached screenshots showing:
Expected display (files on disk use correct paths: .opencode/commands/analyze-issue.md)
Actual display in Desktop app (incorrectly shown as: opencode/commands/.analyze-issue.md)
I reproduced this on macOS and traced it to the RTL directory display in the “Session changes” UI. I have a fix that prefixes the directory label with an LRM so the leading dot stays with the directory name. I updated both the Session Review list and the Session Turn diff list.
Thanks for reproducing and tracking this down. The LRM fix for the RTL directory label makes sense. Appreciate the update, and looking forward to the PR.
Activity
yxshee commentedon Jan 20, 2026
I reproduced this on macOS and traced it to the RTL directory display in the “Session changes” UI. I have a fix that prefixes the directory label with an LRM so the leading dot stays with the directory name. I updated both the Session Review list and the Session Turn diff list.
Ipriyankrajai commentedon Jan 20, 2026
@yxshee You have PR for this?
CodeCasterX commentedon Jan 20, 2026
Thanks for reproducing and tracking this down. The LRM fix for the RTL directory label makes sense. Appreciate the update, and looking forward to the PR.
fix: correct dot prefix display in directory names for RTL text rende…
CodeCasterX commentedon Jan 21, 2026
Thanks so much for the quick fix! I just noticed PR #9591 has been merged. Really appreciate the rapid response and the elegant LRM solution.
May I ask when this fix is expected to be included in a release? Looking forward to trying it out in the Desktop app.
fix: correct dot prefix display in directory names for RTL text rende…
fix: correct dot prefix display in directory names for RTL text rende…
fix: correct dot prefix display in directory names for RTL text rende…