Author Topic: fail to delete folder when sub folder is open in another panel.  (Read 13589 times)

hlhp

  • Junior Member
  • **
  • Posts: 24
    • View Profile
not sure it is intended or a bug.

when left panel is c:\
right panel is c:\folder1\folder2

it will not able to delete c:\folder1 from left panel

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4489
    • View Profile
    • Multi Commander
Re: fail to delete folder when sub folder is open in another panel.
« Reply #1 on: September 10, 2022, 15:27:38 »
It should normally not happen, But depending on situation it can.
MC do not keep a lock on the folder. So normally it should not happen.
But it can happen depending on what files you got in the folder and what columns you shown.
When entering a folder MC will get icons and thumbnail for the files in the background.. also some extended column will be processed in the background.
Also AV software can be activate and scan files..  or some other program has a a file opened from that folder.

hlhp

  • Junior Member
  • **
  • Posts: 24
    • View Profile
Re: fail to delete folder when sub folder is open in another panel.
« Reply #2 on: September 11, 2022, 17:16:35 »
thank you for the detail explanation.

I tested in vmware, with fresh installed windows 10.
MC version is "MultiCommander_x64_Portable_(12.0.0.2903).zip"

it is not likely AV software or column locking the folder, because

it can delete c:\folder1 from the left panel when:
left panel is c:\
right panel is c:\folder1

it can not delete c:\folder1 from the left panel when:
left panel is c:\
right panel is c:\folder1\folder2


all the folder have no files, only empty sub-folders.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4489
    • View Profile
    • Multi Commander
Re: fail to delete folder when sub folder is open in another panel.
« Reply #3 on: September 12, 2022, 09:42:59 »
I cannot recreate that.

If I create C:\folder1\Folder2 on panel is shown folder2.. and one C:.. and I delete Folder1 from there.. No issue..panel 2 that show folder2 will go back out to c:\

hlhp

  • Junior Member
  • **
  • Posts: 24
    • View Profile
Re: fail to delete folder when sub folder is open in another panel.
« Reply #4 on: September 12, 2022, 15:50:23 »
when deleting it, it pop up Error dialog shows "Unknown Error(5:20)"
I record a video for the issue. https://streamable.com/mm0ht2


Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4489
    • View Profile
    • Multi Commander
Re: fail to delete folder when sub folder is open in another panel.
« Reply #5 on: September 12, 2022, 16:13:55 »
when deleting it, it pop up Error dialog shows "Unknown Error(5:20)"
I record a video for the issue. https://streamable.com/mm0ht2

Ahh You are sending to recylebin. That a big difference.. Then files are not deleted. but Windows moves them and redname them.. Not sure why Windows fails to send it to recycle bin.