Custom project icon upload not applying after save
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
- Open opencode desktop app
- Right-click a project > choose to change its icon
- Upload a custom image file
- Click Save
Screenshot and/or share link
i drag a 128x128px .jpg image and click save:
and the project icon remains the default 'R':
Operating System
macOS 26.5.1
Terminal
opencode desktop app
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
Same here, OpenCode Desktop v1.17.11, Windows 11
same 1.17.18 desktop in windows 11
+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.
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.
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 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊
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.