Description
Bug Summary
Pressing Ctrl+Shift+Backspace (easily triggered when using Ctrl+Backspace to delete words) immediately and permanently deletes the active session, including any ongoing implementation work. No confirmation dialog appears, and there is no way to recover the deleted session.
Expected Behavior
- The keybind should either not be assigned by default or should be configurable in settings
- If assigned, deleting a session should require explicit user confirmation
- The confirmation dialog should prevent accidental acceptance — the primary action button should be disabled for a minimum of 3 seconds
- Alternative: Instead of deleting, the session could be paused/stopped, allowing the user to resume
Impact
- Critical: Permanent data loss with no recovery path
- High friction: Common keyboard shortcut collision makes accidental deletion likely
- No safety net: No trash/recovery mechanism exists
Proposed Solution
- Remove the Ctrl+Shift+Backspace keybind from the default configuration, or make it explicitly optional in settings
- Add a confirmation modal before session deletion with:
- Clear warning text explaining the action is irreversible
- A 3-second delay before the "Delete" button becomes active (configurable in settings)
- Consider implementing a soft-delete or session history to enable recovery within the current session
Plugins
oh-my-openagent (not related to the bug)
OpenCode version
OpenCode Desktop 1.3.17 (happened on previous versions as well)
Steps to reproduce
- Open OpenCode Desktop
- Start an implementation task (any task that involves multiple turns)
- Begin typing a prompt or code
- While typing, press Ctrl+Backspace to delete the previous word
- Accidentally also press Shift (creating Ctrl+Shift+Backspace)
- Observe: The entire session is immediately deleted with no confirmation dialog
- Attempt to recover the session — no recovery option exists
Additional Observation
After deletion, the session appears gone from the UI but agents/tasks spawned within it may still be executing. This creates:
- Resource leakage (background processes continue consuming resources)
- Impossible UX state (work in progress with no interface)
- Confusion (user cannot determine if work was completed or lost)
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
No response
Description
Bug Summary
Pressing Ctrl+Shift+Backspace (easily triggered when using Ctrl+Backspace to delete words) immediately and permanently deletes the active session, including any ongoing implementation work. No confirmation dialog appears, and there is no way to recover the deleted session.
Expected Behavior
Impact
Proposed Solution
Plugins
oh-my-openagent (not related to the bug)
OpenCode version
OpenCode Desktop 1.3.17 (happened on previous versions as well)
Steps to reproduce
Additional Observation
After deletion, the session appears gone from the UI but agents/tasks spawned within it may still be executing. This creates:
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
No response