Description
Description
In OpenCode Web, workspace/project icon changes are not reliably persisted.
The icon preview in the edit dialog updates correctly, but after clicking Save, the sidebar still shows the fallback initial (for example Y) instead of the uploaded image.
This reproduces across multiple machines and with different images, so it does not appear to be a local cache or single-file problem.
Plugins
None
OpenCode version
v1.14.48)
Steps to reproduce
- Run
opencode web and open the web UI.
- Open a workspace that currently shows fallback initials in the sidebar.
- Right-click workspace -> "Edit".
- Upload an icon image (PNG or JPG).
- Confirm the icon preview is visible in the dialog.
- Click "Save".
- Observe sidebar still shows fallback initials; icon is not applied.
Screenshot and/or share link
Screenshots are not helping here.
Operating System
Fedora Linux (reproduced on multiple machines, also Macos Apple Silicon)
Terminal
GNOME Terminal, Gostty
Additional technical findings
I inspected ~/.local/share/opencode/opencode.db:
- affected session was linked to
project_id = global instead of a dedicated project row for that workspace path.
- manually creating a dedicated
project row for the workspace worktree, setting icon_url_override, and remapping the session from global to the dedicated project made the sidebar icon appear correctly.
This suggests a project identity/mapping persistence issue (global vs dedicated project), not an image decoding/format issue.
Plugins
none
OpenCode version
1.14.48
Steps to reproduce
- Run
opencode web and open the web UI.
- Open a workspace that currently shows fallback initials in the sidebar.
- Right-click workspace -> "Edit".
- Upload an icon image (PNG or JPG).
- Confirm the icon preview is visible in the dialog.
- Click "Save".
- Observe sidebar still shows fallback initials; icon is not applied.
Screenshot and/or share link
No response
Operating System
Fedora 44, Gnome
Terminal
GNOME-Terminal, also testet others
Description
Description
In OpenCode Web, workspace/project icon changes are not reliably persisted.
The icon preview in the edit dialog updates correctly, but after clicking Save, the sidebar still shows the fallback initial (for example
Y) instead of the uploaded image.This reproduces across multiple machines and with different images, so it does not appear to be a local cache or single-file problem.
Plugins
None
OpenCode version
v1.14.48)
Steps to reproduce
opencode weband open the web UI.Screenshot and/or share link
Screenshots are not helping here.
Operating System
Fedora Linux (reproduced on multiple machines, also Macos Apple Silicon)
Terminal
GNOME Terminal, Gostty
Additional technical findings
I inspected
~/.local/share/opencode/opencode.db:project_id = globalinstead of a dedicatedprojectrow for that workspace path.projectrow for the workspaceworktree, settingicon_url_override, and remapping the session fromglobalto the dedicated project made the sidebar icon appear correctly.This suggests a project identity/mapping persistence issue (global vs dedicated project), not an image decoding/format issue.
Plugins
none
OpenCode version
1.14.48
Steps to reproduce
opencode weband open the web UI.Screenshot and/or share link
No response
Operating System
Fedora 44, Gnome
Terminal
GNOME-Terminal, also testet others