Skip to content

OpenCode Desktop 1.14.22 ignores project.icon_url_override after webview refresh. #24197

Description

@OrionDim

Description

Environment:

  • macOS

  • OpenCode Desktop 1.14.22

  • App: /Applications/OpenCode.app

  • Sidecar: /Applications/OpenCode.app/Contents/MacOS/opencode-cli

What I verified:

  • The project row exists in ~/.local/share/opencode/opencode.db

  • project.worktree = /Users/oriondim/Documents/OpenCode_projects/simbrief-checklists

  • project.name = simbrief-checklists

  • project.icon_color = orange

  • project.icon_url_override contains a valid data:image/png;base64 PNG

  • length(icon_url_override) = 34262

Behavior:

  • After manually inserting icon_url_override into SQLite, the icon appeared once in the sidebar.

  • After refreshing the webview, the sidebar reverted to the generated purple fallback avatar.

  • The SQLite row did not change after refresh; icon_url_override is still present.

Expected:

Sidebar/project list should render the uploaded project icon from project.icon_url_override after webview refresh.

Actual:

After webview refresh, sidebar ignores project.icon_url_override and renders fallback avatar.

Additional:

The sidecar server is running but protected with Basic Auth, so I could not inspect /project/current directly via curl:

HTTP/1.1 401 Unauthorized

WWW-Authenticate: Basic realm="Secure Area"

Plugins

@tarquinen/opencode-dcp, @plannotator/opencode

OpenCode version

1.14.22

Steps to reproduce

  1. Install and open OpenCode Desktop 1.14.22 on macOS.

  2. Add a local project to the Desktop project list:
    /Users/oriondim/Documents/OpenCode_projects/simbrief-checklists

  3. Open Edit Project for that project.

  4. Upload a valid PNG icon:

    • 128x128 px
    • PNG
    • tested as RGB/non-interlaced
  5. Save the project settings.

  6. If the icon does not appear, manually verify that project customization can be stored by writing icon_url_override to the SQLite DB:
    ~/.local/share/opencode/opencode.db
    table: project
    field: icon_url_override

  7. Insert a valid data:image/png;base64 PNG into project.icon_url_override.

  8. Restart OpenCode Desktop.

  9. Observe that the custom icon appears in the sidebar.

  10. Refresh/reload the webview.

  11. Observe that the sidebar reverts to the generated purple fallback avatar.

  12. Check the SQLite DB again:
    project.icon_url_override is still present and unchanged.

Screenshot and/or share link

No response

Operating System

macOS 26.3.1

Terminal

Mac terminal

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions