sigma-file-manager icon indicating copy to clipboard operation
sigma-file-manager copied to clipboard

Not able to delete a dir.

Open Ansh4011 opened this issue 4 years ago • 15 comments

Is there an existing issue for this?

  • [X] I have searched the opened issues

Problem description

Hi, I decompressed one of my .7z files and then made a few attempts to delete it but every attempt failed. It asks for administrator privileges' and then shows failed to delete the directory. I also reloaded the directory and tried it but still the same. Also, probably this thing makes many duplicate processes and hogs all the system resources.

Steps to reproduce

  1. Decompress a .7z file.
  2. Try to delete it.

Environment

  • OS: Windows 10 21H1
  • App version: 1.4.0 build 2

Ansh4011 avatar Sep 05 '21 11:09 Ansh4011

Consider supporting the developer on Patreon to increase priority of all your issues, get access to private discord and other rewards.
Patreon page: https://www.patreon.com/sigma_file_manager

github-actions[bot] avatar Sep 05 '21 11:09 github-actions[bot]

Thanks for the report. Are you trying to delete it from disk Shift + Delete or send it to trash Delete?

aleksey-hoffman avatar Sep 05 '21 12:09 aleksey-hoffman

@aleksey-hoffman I was trying to delete only one file so I used Delete button. Also I tried to delete it from the context menu as well but still the same.

Ansh4011 avatar Sep 05 '21 12:09 Ansh4011

Are you trying to delete the .7z file or the folder that archiver created?

aleksey-hoffman avatar Sep 05 '21 12:09 aleksey-hoffman

Is there a red dot on the file card? Like this:

image

aleksey-hoffman avatar Sep 05 '21 13:09 aleksey-hoffman

The extracted folder.

Ansh4011 avatar Sep 05 '21 13:09 Ansh4011

Is there a red dot on the file card? Like this:

There was no such red dot. As soon as I attempted to delete it, it would say that the folder access is denied (explorer prompt) then an administrator privilege's prompt. After that it just says that it failed to send it to trash (card notification).

Ansh4011 avatar Sep 05 '21 13:09 Ansh4011

Btw, How can I go to the trash folder (recycle bin) via SFM itself?

Ansh4011 avatar Sep 05 '21 13:09 Ansh4011

Could you please post a screenshot of this explorer prompt here? (You can create a screenshot by pressing Win + Shift + S on WIndows.

When you're trying to delete this folder, do you see a console process with high CPU usage in the task manager? Something like this:

image

aleksey-hoffman avatar Sep 05 '21 13:09 aleksey-hoffman

Currently you cannot open the recycle bin folder from the SFM. I will try to add this functionality in the future. It's a bit difficult

aleksey-hoffman avatar Sep 05 '21 13:09 aleksey-hoffman

Could you please post a screenshot of this explorer prompt here?

I am not able to reproduce it again I don't why. I'll share the screenshot once it happens again 😅.

Currently you cannot open the recycle bin folder from the SFM. I will try to add this functionality in the future. It's a bit difficult

Oh, no worries. Thanks! Anyways, I'll take a leave now, I have encountered a few more issues which I'll be posting tomorrow once I am done with my exam.

Ansh4011 avatar Sep 05 '21 13:09 Ansh4011

Ok, thanks!

aleksey-hoffman avatar Sep 05 '21 13:09 aleksey-hoffman

Hi, I encountered it again and also I figured out the problem. The thing was that I pressed the delete button several times and there was already delay from backend (maybe because it was a new freshly made directory, but I am not sure) while deleting the file so SFM made several attempts to delete it even though it was already deleted thus showing the message below. image

Also, can anything be done to avoid this delay bcz this forced duplicates of SFM thus ending up hogging the computer with as much as 10-15 processes. (Faced this yesterday)

Ansh4011 avatar Sep 06 '21 09:09 Ansh4011

Thank you, I will figure out how to solve this

aleksey-hoffman avatar Sep 06 '21 09:09 aleksey-hoffman

Thanks :)

Ansh4011 avatar Sep 06 '21 09:09 Ansh4011