Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Closed file left half-open if next working set entry no longer exists #1544

@peterflynn

Description

@peterflynn
  1. Open three files in the working set: A, B, and C
  2. Make sure file C is selected
  3. Close Brackets
  4. Delete file B
  5. Reopen Brackets
  6. Close file C

Result: after dismissing the error dialog about being unable to open file B, you're left with nothing selected in the left-hand pane, and file C still open in an editor but no longer listed in the working set.

Although it looks pretty broken/sketchy, I think the underlying Document stuff is still in an ok state -- if you type in the "orphaned" editor, file C is re-added to the working set and saving changes works.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions