Skip to content

[Bug] Project edits (name, icon, color) not persisted after restart in v1.14.39 #25946

Description

@cherub-pan

Description

Description: In the OpenCode desktop app, after editing a project's name, icon, or color via the "Edit Project" dialog and clicking "Save", the changes appear to apply temporarily. However, once the dialog is closed or the app is restarted, all modifications revert to their default values.

Steps to Reproduce:

Right-click a project in the sidebar and select "Edit Project"
Change the "Name" field (e.g., to 09.files)
Select a different "Icon" or "Color"
Click the "Save" button
Close the dialog or fully restart OpenCode
Observe that the project reverts to its default name, icon, and color
Expected Behavior: Modified project name, icon, and color should persist across app restarts.

Actual Behavior: All changes are lost upon closing the dialog or restarting the application.

Environment:

OS: Windows 10/11
OpenCode Version: 1.14.39
Installation Method: Installer (exe)
Additional Context: I checked the config directory at %APPDATA%\opencode and found only EBWebView cache files. There is no standalone projects.json or similar configuration file. It appears project settings are stored in WebView's LocalStorage/IndexedDB, and the save action is not correctly triggering a persistent write.

Plugins

No response

OpenCode version

OpenCode Version: 1.14.39

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

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