Auto-close viewer if all images in folder are deleted
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 14.4k
- Forks
- 752
- Avg merge
- 10d 14h
- Merged PRs (30d)
- 1
Description
When the last image in a folder is deleted, currently a blank page is displayed, while the titlebar displays some incorrect info.
Instead it would be nice if the viewer window was auto-closed when the very last supported image in a folder is deleted. If some people want the viewer to remain open with a blank screen (don't know why), "Auto-close window when last image is deleted" can be made an option.
Contributor 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.
Research direction
No files, tests, or entry points are named. Start by locating the viewer's handling of image deletion and the logic that tracks the last supported image in a folder; confirm how the window lifecycle and titlebar state are updated. Done means deleting the final supported image closes the viewer instead of leaving a blank page with incorrect titlebar information.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100