Skip to content

Desktop: custom project icon lost after restart #17801

Closed

Description

@clansty

Description

Custom project icons set via the edit-project dialog disappear after restarting the desktop app, reverting to the initial-letter fallback.

Root cause: project.update() receives icon.override (the base64 data URL) from the client but never persists it — the project table has no icon_override column. The client stores the override in a local Tauri Store cache, but on restart the server returns the project without the override, and the async local cache can lose the race against the enrichment effect that syncs server → local.

OpenCode version

1.2.27

Steps to reproduce

  1. Open the desktop app (Tauri)
  2. Right-click a project in the sidebar → Edit
  3. Upload a custom icon image → Save
  4. Restart the app
  5. The custom icon is gone — shows the first-letter avatar instead

Operating System

Windows 11 / macOS (any platform using the desktop app)

Activity

  1. github-actions commented on Mar 16, 2026

    @github-actions
    Contributor

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

    If this is indeed the same issue, please consider closing this one in favor of the existing report. If you believe your report covers a distinct case or provides additional context, feel free to clarify.

  2. clansty commented on Mar 16, 2026

    @clansty
    Author

    Closing as duplicate of #14465. I've identified the root cause and will submit a fix PR against #14465.

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

Metadata

Metadata

Assignees

Labels

webRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions