"Move deleted items to recycle bin" is actually a copy process
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 50/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- mobile-dev
Research direction
Start by locating and reading the Gallery's "move deleted items to recycle bin" flow, then reproduce the reported behavior by deleting a large batch with limited free storage. Check whether the operation temporarily requires space for both the original files and their copies, and whether Android's recycle-bin behavior affects the result. Done means moving a large batch no longer needs twice the batch's storage, or the app clearly reports the limitation.
Written by the indexing model from the issue text.
Description
Checklist
- I can reproduce the bug with the latest version given here.
- I made sure that there are no existing issues - open or closed - to which I could contribute my information.
- I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
- I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
- I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- This issue contains only one bug.
- I have read and understood the contribution guidelines.
Affected app version
1.13.1
Affected Android/Custom ROM version
Android stock Aug 2026, CP2A.260805.005
Affected device model
Pixel 8a
How did you install the app?
Google Play Store
Steps to reproduce the bug
Activate "move deleted items to recycle bin".
Delete a huge amount of files.
During the process, your phone will use [item batch size] x 2 storage, because the process is actually a copy.
Expected behavior
Move is move.
Copy is copy.
I do not expect my phone to use twice the storage of the item batch that I am currently deleting just for moving it to the recycle bin.
Actual behavior
The app bloats the storage used during the process to 2 x [batch size].
Screenshots/Screen recordings
No response
Additional information
If this is an Android limitation (quick search sounds like the OS moves stuff to the app's recycle bin itself??) then you need to do asynchronous work as to not bloat the storage.
E.g. in my case I had 2GB left for total storage, deleted 6GB... well that didn't happen :)
There never came an error message (progress is not implemented https://github.com/FossifyOrg/General-Discussion/issues/120 I got that).
If there are no benefits/unwanted side effects with having to hand over to the OS in regards to recycle bin, maybe it even makes sense to just create your own recycle bin where you can then move (data kept within app vFS). You'll know more about that than I do :)
The bigger the operation becomes this is a complete performance mess (by design with copying not by your fault), not even counting the completely useless wear on the flash.
- Dominant language
- Kotlin
- Stars
- 3.8k
- Forks
- 270
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 7
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from FossifyOrg/Gallery
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
FossifyOrg/Gallery#1235 ·
Maintainers usually reply within 1 day
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
FossifyOrg/Gallery#1215 · 1 comment ·
Maintainers usually reply within 1 day
-
"Fix Date Taken value" ignores OffsetTimeOriginalPossibly taken @PedroFlores199 claimed this 5 days ago. Openbug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
FossifyOrg/Gallery#1213 · 3 comments ·
Maintainers usually reply within 1 day
-
App crashes if AccessMediaLocation permission is revokedMay be free again A pull request for this issue was closed without being merged. Openbug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
FossifyOrg/Gallery#1196 · 12 comments ·
Maintainers usually reply within 1 day
-
Renaming a locked folder silently removes its lockMay be free again A pull request for this issue was closed without being merged. Openbug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
FossifyOrg/Gallery#1195 ·
Maintainers usually reply within 1 day
All issues in FossifyOrg/Gallery
Similar issues
-
bug 🐞
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
grote/Transportr#1029 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
TeamAmaze/AmazeFileManager#4800 ·
Maintainers usually reply within 1 day
-
bug good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
getsotto/sotto-authenticator#139 ·
Maintainers usually reply within 1 day
-
enhancement module:webview p3
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
NucleusFramework/Nucleus#1004 ·
Maintainers usually reply within 1 day
-
docs good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
danielecanci/2ndCare#4 ·