Skip to content

Bug: workspace delete dialog closes on Enter without deleting #25425

@rubencu

Description

@rubencu

Description

In the desktop workspace list, the delete workspace confirmation closes when pressing Enter, but the workspace is not deleted. Clicking the Delete workspace button does delete it.

Expected: once the status check is done, pressing Enter should confirm the dialog the same way clicking Delete workspace does.

Actual: the dialog closes and the workspace remains.

Plugins

None.

OpenCode version

Current dev branch / desktop app.

Steps to reproduce

  1. Open a project in the desktop app with a workspace listed in the sidebar.
  2. Open a workspace context menu and choose Delete.
  3. In the confirmation dialog, press Enter instead of clicking Delete workspace.
  4. Notice the dialog closes but the workspace is still present.

Screenshot and/or share link

Not included; this is a keyboard interaction in a modal with no visual change.

Operating System

macOS

Terminal

N/A, desktop app.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions