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
Project name and icon color not persisting after rename — desktop client fails to save changes to .dat files #25578
On the opencode desktop client (macOS), project customizations such as project name and icon color fail to persist after renaming or changing them through the project settings UI.
Plugins
No response
OpenCode version
No response
Steps to reproduce
Open the opencode desktop client
Select a project from the left sidebar
Open project settings (right-click → Settings, or via the UI)
Change the project name to something custom (e.g., "My Project")
Click Save / confirm the change
Observe that the name reverts to the previous value (or remains empty/unchanged) after restarting the client or switching projects
Those issues describe different environments — they are not the same bug.
#24744 mentions "Ubuntu web" (web client) #21474 mentions "Windows" desktop
My issue is specifically on macOS desktop client (1.14.33), stored in ~/Library/Application Support/ai.opencode.desktop/*.dat files.
The root cause is also different: the macOS desktop client stores project metadata in local .dat JSON files. When renaming a project, the new name is correctly held in memory during the session, but the serialization back to the .dat file on disk is never completed — confirmed by reading the raw file after attempting a rename. This is a file persistence failure, not a UI reset issue.
The other two issues appear to be about name display resets (UI state), whereas here the problem is that even the saved file on disk does not contain the new name.
Can this be reopened as a macOS-specific issue? Happy to share the .dat file evidence and reproduction steps specific to the macOS desktop client.
Activity
github-actions commentedon May 3, 2026
This issue might be a duplicate of existing issues. Please check:
Please review those issues and consider closing this one if it describes the same problem.
makocult commentedon May 3, 2026
Those issues describe different environments — they are not the same bug.
#24744 mentions "Ubuntu web" (web client)
#21474 mentions "Windows" desktop
My issue is specifically on macOS desktop client (1.14.33), stored in ~/Library/Application Support/ai.opencode.desktop/*.dat files.
The root cause is also different: the macOS desktop client stores project metadata in local .dat JSON files. When renaming a project, the new name is correctly held in memory during the session, but the serialization back to the .dat file on disk is never completed — confirmed by reading the raw file after attempting a rename. This is a file persistence failure, not a UI reset issue.
The other two issues appear to be about name display resets (UI state), whereas here the problem is that even the saved file on disk does not contain the new name.
Can this be reopened as a macOS-specific issue? Happy to share the .dat file evidence and reproduction steps specific to the macOS desktop client.
github-actions commentedon Jul 4, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.