Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLOSED] Closed file left half-open if next working set entry no longer exists #1510

Open
core-ai-bot opened this issue Aug 29, 2021 · 3 comments

Comments

@core-ai-bot
Copy link
Member

Issue by peterflynn
Saturday Sep 01, 2012 at 00:41 GMT
Originally opened as adobe/brackets#1544


  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.

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Saturday Sep 01, 2012 at 00:42 GMT


I think variations of this bug were always possible in rare edge cases, but pull #1197 made it much easier to hit (via the above steps). It looks ugly enough that I think we should consider fixing for Sprint 14...

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Thursday Sep 06, 2012 at 21:37 GMT


FBNC back to@peterflynn

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Thursday Sep 06, 2012 at 23:17 GMT


Confirmed fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant