[Feature Request] Keep folder cover image after the original is deleted

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
53/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
android, kotlin
Domain
backend, mobile

Research direction

Start by reading how folder covers are selected and stored, and how deleting an image updates a folder's cover; the issue does not name specific files or tests. Trace the cover path through the app's folder and media handling, then identify where a persistent app-only copy would fit. Done means a chosen cover remains visible after its original is deleted and can be replaced by choosing a new cover.

Written by the indexing model from the issue text.

Description

feature request needs triage
Checklist
  • 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 request will be dismissed otherwise.
  • This issue contains only one feature request.
  • I have read and understood the contribution guidelines.
Feature description

When an image is set as a folder cover, save a copy of it in a hidden, app-only folder. If the original is deleted, the folder keeps its cover until the user picks a new one.

Why do you want this feature?

Right now the folder cover changes whenever the original image is deleted, such as when emptying the recycle bin or deleting a favourite image. In a folder with hundreds of images, it's impractical to keep track of the one image that must not be deleted. For example, my Favourites folder cover is a symbol of that folder, and I want to keep it even if I delete the original.

Restoring a deleted cover is also tedious: the user has to copy the image back into the folder and set it as the cover again, which can happen over and over in large folders.

Additional information

None

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.