Feat:In-App Image Deletion with Disk/Database Options from inside of Gallery.
Describe the feature
Problem Statement:
-
Right Now, there is no way to delete an image directly from within the image viewer. As a result, users have to click the "Folder" icon to open the external file explorer (e.g., macOS Finder), manually locate the image, and move it to the bin. This disrupts the user experience and makes managing the library cumbersome, as the app does not natively handle the deletion process from the viewer interface.
-
Also a user cannot remove or delete a image from the pictopy database i.e. galleries local database.
Proposed Solution:
- Add a "Delete" icon to the top-right toolbar inside the image viewer. Clicking this button should trigger a confirmation pop-up window.
- This window will give the user control over how the image is deleted (whether just from the application's database or from the physical drive as well).
PictoPy Right Now:
https://github.com/user-attachments/assets/374bc5d6-8567-48b9-9581-1245f006380b
- Dosen't have a deleting option.
PictoPy After Changes:
- User is going to be able to delete images from inside the library itself, instead of opening folders in the os.
- User would have more control over his data.
- User is going to be able to choose that:
- if he wants to delete from the gallery db or
- from the local system folder .
Add ScreenShots
Video Attached Above
Record
- [x] I agree to follow this project's Code of Conduct
- [x] I want to work on this issue
👋 Thanks for opening this issue! The maintainers will review it shortly. Till then, do not open any PR. This is a strict rule we like to follow around here :)
@rohan-pandeyy Can i please work on this issue??
@rohan-pandeyy I have implemented it, if you approve of this issue i will open a PR for this.
This is the video of how the Delete button works in imageViewer:
https://github.com/user-attachments/assets/99e3e5ca-bb08-402a-9686-69dade7f306e
Video Explaination:
-
In the first step of video i delete by clicking the check box, it deletes the image from the main folder.(this dosent, moves the deleted photo that got deleted from the main folder into the recycle bin, it permanently deletes it)
-
In second step of the video, i delete without the check box, it deletes just from pictopy database.
What do you think??
I added a pop up notification, which asks for your suggestion, wheather you are in the need to delete this from the main folder or just pictopy database.
If you have time please do let me know.