aves icon indicating copy to clipboard operation
aves copied to clipboard

Some pictures stay in trash forever

Open rusty-snake opened this issue 2 months ago • 2 comments

Describe the bug

A few pictures in my trash do not count down, stick to 30 days and get never deleted. Deleting them manually works just fine.

To Reproduce Steps to reproduce the behavior: Unknown

Expected behavior Delete after 30 days works for all pictures.

Screenshots n/a

System information and logs:

Package: deckers.thibault.aves.libre
Installer: app.accrescent.client
Aves version: 1.13.9-libre, build 160
Flutter: stable 3.27.4
Android version: 16, API 36
Android build: 2025110601
Device: Google Pixel 6
Display: pixel ratio=2.625, logical=411.42857142857144x914.2857142857143, physical=1080.0x2400.0
Support: dynamic colors=true, geocoder=false, HDR=true, wide gamut=true
Mobile services: not available
Connectivity: none
System locales: de_DE
Storage volumes: /storage/emulated/0/
Storage grants: /storage/emulated/0/Movies/, /storage/emulated/0/Pictures/, /storage/emulated/0/DCIM/
Error reporting: false

Additional context

/Android/data/deckers.thibault.aves.libre/files/trash shows file modification date in April and June, clearly more than 30 days.

The all claim to stem from /storage/emulated/0/Pictures/Lost & Found/….

rusty-snake avatar Nov 08 '25 13:11 rusty-snake

Thanks for the report. Could you please export the logs after launching the app?

Lost & Found is a workaround to recover files that were found in the trash directory but were not tracked by Aves internal DB. In other words, there is (or was) a bug somewhere, and this recovery mechanism is a way to prevent data loss if it happens.

Over time, I discovered (and fixed) some cases that yielded these lost files. If you know how you initially created/moved these files in the trash that got recovered, I'm interested. Maybe they are actually empty files, or directories considered as files, or a specific exotic format...

deckerst avatar Nov 08 '25 13:11 deckerst

Logs: https://gist.github.com/rusty-snake/55d29594bc32df22adcd7f8ee715252d

If you know how you initially created/moved these files in the trash that got recovered, I'm interested.

Unfortunately not. The files are "completely normal" and I do not see something common to them.

rusty-snake avatar Nov 08 '25 15:11 rusty-snake