LightTable icon indicating copy to clipboard operation
LightTable copied to clipboard

Light Table unable to open recreated folder

Open kevgathuku opened this issue 8 years ago • 1 comments

Steps to Reproduce

  1. Open Light Table
  2. Click on the File menu item, then Open folder
  3. Choose a folder. It is now displayed in your workspace
  4. Right click on the folder in the workspace and select Delete folder
  5. On the confirmation prompt that appears, select Delete folder
  6. Re-create the folder that you just deleted in the same location where the previous folder was e.g. in the terminal or in a Finder window with the same name as the deleted folder
  7. In Light Table, Click on the File menu item, then open folder
  8. Select the newly created folder

Environment

Info Details
Light Table version 0.8.1
Operating system MacOS Sierra

Error Messages

This folder is already in your workspace.

kevgathuku avatar Mar 04 '17 17:03 kevgathuku

I can reproduce this on Ubuntu with LT 0.8.1 as well. Error is originating from the ::add-folder! behavior in src/lt/objs/workspace.cljs.

Thank you for the thorough bug report, @kevgathuku!

sbauer322 avatar Mar 04 '17 22:03 sbauer322