"Move deleted items to recycle bin" is actually a copy process

オープン
#1,143 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
50/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
android, kotlin
領域
mobile-dev

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

bug needs triage
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.

主要言語
Kotlin
スター
3.8k
フォーク
270
平均マージ
1日 6時間
マージ済み PR(30日)
7

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

FossifyOrg/Gallery のほかの issue

FossifyOrg/Gallery の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。