-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Can't Delete Files with Same Name to Trash Bin #4619
Copy link
Copy link
Open
Labels
Area-TrashAn issue related to the trash/bin featureAn issue related to the trash/bin featureIssue-BugRelated unexpected behavior or something worth investigating.Related unexpected behavior or something worth investigating.Issue-Severe (high)Showstopper issues that require immediate attentionShowstopper issues that require immediate attention
Metadata
Metadata
Assignees
Labels
Area-TrashAn issue related to the trash/bin featureAn issue related to the trash/bin featureIssue-BugRelated unexpected behavior or something worth investigating.Related unexpected behavior or something worth investigating.Issue-Severe (high)Showstopper issues that require immediate attentionShowstopper issues that require immediate attention
Type
Fields
Give feedbackNo fields configured for Bug.
Describe the bug
Can't delete files to trash bin if there are existing ones with same name and different content due to trashes are all moved to
/storage/emulated/0/.AmazeData/TrashBinFiles.To Reproduce
Steps to reproduce the behavior:
a(or any other string) in/storage/emulated/0/Download(or any other location).a.txt(or any other file) in it.b.txt(or any other file excepta.txt) in it.afolder now can not be deleted.Expected behavior
The new
afolder should also be deleted to trash bin.A possible solution is to move trashes to
/storage/emulated/0/.AmazeData/TrashBinFiles/<timestamp>where<timestamp>is the UNIX time of the time it's deleted.Smartphone (please complete the following information):
Additional context
I also suggest a minor feature to sync
/storage/emulated/0/.AmazeData/metadata.jsonwith the actual files in/storage/emulated/0/.AmazeData/TrashBinFileswhen opening trash bin so that when a trash is deleted directly fromTrashBinFiles, it'll not be shown in trash bin.