lapce
lapce copied to clipboard
Unable to delete directory
Lapce Version
Version 0.2.0
System information
Windows 10
Describe the bug
Unable to delete folder if it contains a directory and a file within that directory.
Additional information
Selecting Move directory to trash on dir1 does not do anything
Might be a Windows related bug. Moving dir1 to trash does work on Linux, at least on Fedora 36.
Might be a bug in https://github.com/Byron/trash-rs since it implements moving to bin.
Is it possible that another program had this directory open?
I noticed the same behavior when tring to rename a dir. I did not realize my debugger was still open and was using it. Just tested that and if nothing uses that dir i want to delete, it works fine on windows 11.
An error message would be helpfull in this case.
Is it possible that another program had this directory open?
Not in my test case, I created an entirely new folder structure and immediately attempted to delete it using lapce to make sure that wasn't a factor