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] [Core][Delete from OS]: The deleted folder or file which is deleted from OS still can work well if new a folder with same name. #4087

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

Comments

@core-ai-bot
Copy link
Member

Issue by julieyuan
Wednesday Jul 10, 2013 at 09:49 GMT
Originally opened as adobe/brackets#4411


Steps:

  1. Launch Brackets.
  2. New a folder in Brackets and right click on the folder.In this case, folder name is untitled.
  3. Click Show in OS and delete this folder from OS.
  4. Back to Brackets and click on the deleted folder to pop up an error dialog.
  5. New a folder with same name and then new a file under this new folder.
  6. Then right click on the deleted folder to do some operation, like: Show in OS, Rename, Delete etc.

Result:
The deleted folder still work well, but all the operations will redirect to the new folder which has same name with it.

Expected:
When click on the deleted folder, it should pop up an error dialog and can not do any operation on it. Or it should not allowed new a folder with the same name.

ENV: Win7 x64 ENU
Build: 0.27.0.8255

Notes:
This issue also repro for files.

Snapshots:
Please refer to snapshot for details:
untitled folder

untitled folder-rename

@core-ai-bot
Copy link
Member Author

Comment by gruehle
Monday Jul 15, 2013 at 18:33 GMT


This will be fixed when the file watcher user story is complete. Marking "move to backlog" and closing.

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Monday Jul 15, 2013 at 18:54 GMT


Note: I believe this isn't folder-specific -- the same thing should happen with filenames too.

Workaround is to right-click the tree and choose "Refresh" after step 3/4.

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