Skip to content

Removing a connection with an open workspace breaks the user interface #911

Description

@plucik

Description

Removing a saved connection from the Connections modal while its workspace is still open leaves the application in an inconsistent or broken state.

The interface remains broken until the workspace associated with the removed connection is closed.

Steps to reproduce

  1. Create or select a saved database connection.
  2. Open the connection so that its workspace is visible.
  3. Open the Connections modal without closing the workspace.
  4. Remove the connection used by the open workspace.
  5. Close the Connections modal.
  6. Try to continue using the application.

Observed result

The user interface enters a broken or inconsistent state.

The problem remains until the workspace associated with the removed connection is manually closed.

Expected result

Removing a connection that has an open workspace should be handled gracefully.

Possible valid behaviors include:

  • Preventing removal until the workspace is closed.
  • Asking for confirmation and closing the workspace automatically.
  • Allowing the existing workspace to continue working until it is closed.

The application should not remain in a broken state after the connection is removed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions