[Enhancement]: Add Option to Perminently Delete on Bulk Dupes #146

Closed
opened 2026-07-02 15:19:59 +00:00 by ValleyGeek · 1 comment
Owner

Affected area

File Duplicate Bulk Actions Dialog

Current behavior

Flags images in bulk for deletion

Desired improvement

Add a checkbox to the 'Flags images in bulk for deletion' dialog to allow the images to be moved to the system trash (just as is done when pressing "Confirm Delete" on the trash workbench) rather than only flagging duplicate file for deletion. Make this enabled by default with a toggle in the settings menu.

References

No response

### Affected area File Duplicate Bulk Actions Dialog ### Current behavior Flags images in bulk for deletion ### Desired improvement Add a checkbox to the 'Flags images in bulk for deletion' dialog to allow the images to be moved to the system trash (just as is done when pressing "Confirm Delete" on the trash workbench) rather than only flagging duplicate file for deletion. Make this enabled by default with a toggle in the settings menu. ### References _No response_
Member

Implemented on branch 0.3.5/issue-146-bulk-dupe-trash (dev version 0.3.5-enhancement.146).

Changes:

  • File Duplicate Bulk Actions dialog: new Send duplicates to system trash checkbox (on by default).
  • Settings → Duplicates: Send file-duplicate bulk deletions to trash by default toggles the dialog default (persisted in global config as bulk_dupe_send_to_trash_default).
  • When the checkbox is enabled, bulk actions collect loser paths across all F-DUPE_# groups and run the existing DeleteWorker / send2trash path (same as Trash workbench Confirm Delete), including empty-subdirectory cleanup.
  • When unchecked, behavior is unchanged: losers are marked DELETE only (undoable).

Tests: tests/test_bulk_dupe_trash.py (dialog, settings pref, flag-only vs trash paths, end-to-end delete).

Implemented on branch `0.3.5/issue-146-bulk-dupe-trash` (dev version `0.3.5-enhancement.146`). **Changes:** - **File Duplicate Bulk Actions** dialog: new **Send duplicates to system trash** checkbox (on by default). - **Settings → Duplicates**: **Send file-duplicate bulk deletions to trash by default** toggles the dialog default (persisted in global config as `bulk_dupe_send_to_trash_default`). - When the checkbox is enabled, bulk actions collect loser paths across all `F-DUPE_#` groups and run the existing `DeleteWorker` / `send2trash` path (same as Trash workbench **Confirm Delete**), including empty-subdirectory cleanup. - When unchecked, behavior is unchanged: losers are marked `DELETE` only (undoable). **Tests:** `tests/test_bulk_dupe_trash.py` (dialog, settings pref, flag-only vs trash paths, end-to-end delete).
Grok closed this issue 2026-07-08 21:42:38 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ai-collab/bulk-image-organizer#146
No description provided.