files-community / files-community/Files

Feature: Don't force permeant delete if a selected ADS file is apart of a selected normal file

Open
#10,849 2 comments 0 reactions 0 assignees View on GitHub
area - file operations
Dominant language
C#
Stars
45.4k
Forks
2.9k
Avg merge
19h 1m
Merged PRs (30d)
60

Description

### What feature or improvement do you think would benefit Files?

If I have a file select for deletion if can go into the recycling bin like normal. But with Show ADS files turned on and I select all and delete permeant delete is forced. Even though deleting the normal file can move it to the recycle bin along with the ADS attachment.

### Requirements

- Check if an ADS file and main file/folder getting deleted
1. If they are both getting deleted ignore the ADS file to allow normal recycle bin usage
2. If only the ADS file is getting deleted only permeant delete the ADS file

I think this could be done with two stages. One to show the main files getting deleted, then another for any left over ADS files that were select both following `Files settings > Folders > Show confirmation dialog when deleting items` setting

### Files Version

2.4.8.0

### Windows Version

10.0.22621.965

### Comments

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.