You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Project icon not displayed after saving for local projects (no project ID) — two bugs found with fix #36562
When editing a local project (a project without an id in the opencode SQLite database), setting a custom icon via the project edit dialog does not work. The icon is never displayed in the home screen session list.
I've traced the issue to two bugs in the renderer code. Details and suggested fixes are in the attached file.
Root Cause (brief)
dialog-edit-project calls project.meta() for projects without an ID, which writes icon data only to the workspace:project electron-store key. It does NOT call project.icon(), which writes to the workspace:icon key.
enrich() in the project list pipeline reads icon from childStore.icon (workspace:icon), but never falls back to childStore.projectMeta.icon.override (workspace:project → icon → override).
Either fix alone resolves the symptom, but both should be applied.
Environment
opencode-desktop v1.17.18 (also reproduced on v1.17.9)
NixOS
Full analysis, exact code locations, and suggested patches are in the attached file.
Activity
github-actions commentedon Jul 12, 2026
This issue might be a duplicate of existing issues. Please check:
project.icon()call in local project branch, andenrich()not reading the updated icon) with the same root cause analysis and fixPlease review the above issues and add any new information there if relevant.
github-actions commentedon Sep 11, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.