TeamAmaze / TeamAmaze/AmazeFileManager
File not deleted from "Documents" directory, ends up duplicated in Trash
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 6.4k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 1
Description
Describe the bug
When deleting a file from the Documents directory, it doesn’t actually get removed. A toast appears saying "Deleting" and then "Done", but the file remains in the original location. At the same time, it also gets added to the Trash bin. If you try to delete it again, it gets added to the Trash again, creating duplicate entries.
To Reproduce
Steps to reproduce the behaviour:
- Go to the 'Hamburger' icon
- Click on 'Documents'
- Try to delete a file
- Refresh the screen, notice the file, it doesn't get deleted
- Now go to the Trash bin
- You will find the file here
- Try to delete the same file again, and it will be added to the trash bin AGAIN
Expected behavior
- The file should be removed from the Documents directory.
- It should only appear once in the Trash.
Screen Recording
https://github.com/user-attachments/assets/7353d167-58c8-49ed-bdee-f5e22f837121
Smartphone (please complete the following information):
- Device: [ Motorola e13]
- OS: [Android 13]
- Rooted: [No]
- Version: [v3.10]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue on Android 13 with AmazeFileManager v3.10 by opening Documents from the Hamburger menu and deleting a file. Trace the delete flow while checking both Documents and Trash; done means the file is removed from Documents and appears only once in Trash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100