Files icon indicating copy to clipboard operation
Files copied to clipboard

Feature: Add skip button when deleting multiple files that are in use by another application

Open AzaelMew opened this issue 3 years ago • 10 comments

What's the Problem?

No response

Solution/Idea

When deleting a lot of items from for example Temp folder, a lot of items are usually in use, would be convenient if there was a way to say "ok" to every single file in there, so there's no need to say "ok" every time

Also would be nice if when deleting items, there was a way to see what process is using it

image

Alternatives

na

Priorities

| Capability | Priority |

  • Replace "okay" with a skip button
  • Add skip all if there are multiple files in use

Files Version

No response

Windows Version

No response

Comments

No response

AzaelMew avatar Feb 08 '22 16:02 AzaelMew

@yaira2 Hi is this issue is still open? I am interested in working on this

BharatBaweja avatar May 24 '23 20:05 BharatBaweja

Yes it is

Josh65-2201 avatar May 24 '23 20:05 Josh65-2201

Ok, I will start working on it

BharatBaweja avatar May 24 '23 20:05 BharatBaweja

@BharatBaweja let us know if you have any questions.

yaira2 avatar May 24 '23 20:05 yaira2

@yaira2 it looks like having a pop up with what program is using the file is already implemented. The skip button hasn't been implemented yet, do you think the skip button is still a good first issue?

William-Hiatt avatar Oct 16 '23 00:10 William-Hiatt

I think so, do you have any feedback on this or alternative ideas?

yaira2 avatar Oct 16 '23 15:10 yaira2

I am interested in working on this issue, but if I open lets say an mp3 file, then delete it depsite it being used by another program I actually dont get any dialogue, and it just deletes

sirwilliamthefirst avatar Sep 13 '24 03:09 sirwilliamthefirst

Yeah if the program that opened the mp3 file allows other programs delete, other apps can delete. There's an option called "shared mode" when opening a file.

If we are to implement this, we should make use of IShellOperation's skip, which FE also uses.

0x5bfa avatar Sep 13 '24 06:09 0x5bfa

I am interested in working on this issue, but if I open lets say an mp3 file, then delete it depsite it being used by another program I actually dont get any dialogue, and it just deletes

You might need to try with a different file type (eg exe).

yaira2 avatar Sep 13 '24 14:09 yaira2

If we are to implement this, we should make use of IShellOperation's skip, which FE also uses.

@hishitetsu After reviewing the existing codebase, I have found that it currently uses a post-operation dialog method to interact with the user for all file operations (Copy, Move, Delete) and the existing pre-operation callback is used only for the progress tracking.

Should I implement the Skip button while keeping the existing post-operation dialog pattern or should I refactor the entire codebase to use pre-operation callbacks for interactive skip functionality?

workbysaran avatar Nov 14 '25 09:11 workbysaran