Skip to content

Project name and icon color not persisting after rename — desktop client fails to save changes to .dat files #25578

Closed as not planned

Description

@makocult

Description

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

  1. Open the opencode desktop client
  2. Select a project from the left sidebar
  3. Open project settings (right-click → Settings, or via the UI)
  4. Change the project name to something custom (e.g., "My Project")
  5. Click Save / confirm the change
  6. Observe that the name reverts to the previous value (or remains empty/unchanged) after restarting the client or switching projects

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on May 3, 2026

    @github-actions
    Contributor

    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.

  2. makocult commented on May 3, 2026

    @makocult
    Author

    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.

  3. github-actions commented on Jul 4, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions