Deleting a photo does not move it into recycle bin

Open
#1,232 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
android, kotlin
Domain
mobile

Research direction

Start by tracing how deletion is handled for photos opened from an external camera app and compare it with deletion from Fossify Gallery. Check how the app identifies the photo and moves it to the recycle bin, then look for tests covering that flow. Done means a photo opened from the camera app appears in the recycle bin after deletion.

Written by the indexing model from the issue text.

Description

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.14.3

Affected Android/Custom ROM version

Android 15

Affected device model

Fairphone 5

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug
  1. Make a photo in a camera app.
  2. Open it from the camera app in Fossify gallery app.
  3. Delete this photo.
  4. Confirm a dialog to move it into the recycle bin.
  5. Open Fossify gallery and open the recycle bin.
  6. The deleted photo is not there.
Expected behavior

A deleted photo should be in the recycle bin.

Actual behavior

A photo opened from a camera app is missing in the recycle bin if deleted.

Screenshots/Screen recordings

No response

Additional information

It happens only if a photo is opened from a camera app. If opened from Fossify gallery app it is in the recycle bin after it is deleted.
I use a built-in camera app which was added by a phone manufacturer.

Dominant language
Kotlin
Stars
3.8k
Forks
270
Avg merge
1d 6h
Merged PRs (30d)
7

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FossifyOrg/Gallery

All issues in FossifyOrg/Gallery

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.