Skip to content

Bug: project display name is not persisted after update #31037

Closed as not planned

Description

@zaiabjw

Description

After the latest OpenCode update, changing the project display name (top-left corner, next to the project icon) no longer works. The name reverts to the folder name immediately or after a restart.

Steps to reproduce

  1. Open a project in OpenCode
  2. Click the project name in the top-left corner of the UI
  3. Edit the name and press Enter
  4. The name reverts to the folder name

Expected behavior

The custom project name should persist and be displayed instead of the folder name.

Actual behavior

The name is always reset to the folder name, regardless of edits.

Analysis

The project name is correctly saved in the Electron store (verified in ~/Library/Application Support/ai.opencode.desktop/opencode.global.dat under layout.page.workspaceName, and per-workspace in workspace:project.name in workspace .dat files), but the app seems to ignore/override this value on render.

This is a regression — the feature worked before the latest update.

Environment

  • OpenCode version: latest (up-to-date as of 2026-06-06)
  • macOS: 26.3.1 (25D771280a)
  • Architecture: arm64

Activity

  1. github-actions commented on Jun 5, 2026

    @github-actions
    Contributor

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

    If your issue is distinct (e.g. a regression introduced in a specific recent update), please add a note clarifying how it differs from the above.

  2. github-actions commented on Aug 5, 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