opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Custom project icon upload not applying after save

Open Mikolaj-Madeksza opened this issue 5 months ago • 7 comments

Description

When right-clicking a project in the desktop app and uploading a custom icon, clicking Save has no effect — the default icon persists.

Plugins

none

OpenCode version

1.17.7

Steps to reproduce

  1. Open opencode desktop app
  2. Right-click a project > choose to change its icon
  3. Upload a custom image file
  4. Click Save

Screenshot and/or share link

i drag a 128x128px .jpg image and click save: Image

and the project icon remains the default 'R':

Image

Operating System

macOS 26.5.1

Terminal

opencode desktop app

Mikolaj-Madeksza avatar Jun 17 '26 15:06 Mikolaj-Madeksza

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

  • #30199: Desktop app: Project icon not saved after clicking Save in Edit Project dialog (same symptom: icon reverts to default after Save)
  • #32164: Project edit dialog does not persist name or icon changes (Windows Desktop v1.17.4) — includes deep investigation of the root cause
  • #29807: Desktop: custom project icons save but never render in projects list
  • #24744: Project edit dialog does not persist name or icon changes

github-actions[bot] avatar Jun 17 '26 15:06 github-actions[bot]

Same here, OpenCode Desktop v1.17.11, Windows 11

johnpork1999 avatar Jun 30 '26 04:06 johnpork1999

same 1.17.18 desktop in windows 11

yinyisj avatar Jul 11 '26 11:07 yinyisj

+1 — reproducible on OpenCode Desktop 1.18.x, macOS 26.5.2. Uploaded a 128x128 PNG as custom project icon for a local project, clicked Save, no effect on the icon shown in the home screen. The upload widget appears to accept the file but the change isn't persisted.

Noticed #34301 has a PR ready with fixes for this exact case (local projects without a project ID). Would be great to see it merged.

remotxavier avatar Aug 06 '26 13:08 remotxavier

Additional data point: this same bug (Edit Project dialog silently ignoring saves for local projects) also affects the project name field, not just the icon. Renaming a local project via the "Edit project" dialog also has no effect after clicking Save.

Environment:

  • OpenCode Desktop 1.18.14
  • macOS 26.5.2
  • Local projects (no project ID in SQLite)

Both symptoms (icon not saving + name not saving) point to the same root cause identified in #36562 and fixed in PR #34301. That PR has been ready to merge since late June (opened by @ngleoi, assigned to @Hona).

@thdxr @Hona — could this be prioritized? The Edit Project dialog is essentially non-functional for local projects.

remotxavier avatar Sep 08 '26 16:09 remotxavier

Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

thdxr avatar Oct 11 '26 17:10 thdxr

For anyone landing here: on OpenCode Desktop 2.4.1 (V2) this works now. Project name/icon are edited via the project name in the top bar → Edit project (right-click on the sidebar no longer shows a menu), and the changes persist across restarts.

remotxavier avatar Nov 24 '26 08:11 remotxavier