adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.25k stars 7.63k forks source link

Deleting a file with changes pops up dialog twice #7605

Open njx opened 10 years ago

njx commented 10 years ago
  1. Open a file
  2. Make some edits without saving
  3. In the file tree, delete the file

Result: The "Do you want to keep changes" dialog appears to pop up twice in succession.

njx commented 10 years ago

This might well have always been in the product, but became more obvious when we added the dialog open animation. It might be similar to other issues we had with the way the file sync manager handles external changes.

peterflynn commented 10 years ago

Reviewed - low priority for 1.0, to fix along with #6712 if possible.

Ideally in this case we'd just suppress the dialog animation when FileSyncManager restarts, so there's no visible change.