Add send-to-trash option for file-duplicate bulk actions (issue #146) #148

Merged
ValleyGeek merged 3 commits from 0.3.5/issue-146-bulk-dupe-trash into main 2026-07-08 21:46:20 +00:00
Member

Summary

Closes #146.

Adds an optional Send duplicates to system trash checkbox to the File Duplicate Bulk Actions dialog. When enabled (the default), duplicate losers are sent to the platform recycle bin via the existing DeleteWorker path — the same behavior as Trash workbench Confirm Delete. When unchecked, behavior is unchanged: losers receive the DELETE tag only (undoable).

A new Settings → Duplicates toggle persists the dialog default (bulk_dupe_send_to_trash_default).

Version

Bumps to 0.3.6 (PR-prep commit).

Testing

  • pytest tests/test_bulk_dupe_trash.py (6 tests)
  • ruff check / ruff format --check on src and tests
  • ./scripts/check-version-bump.sh origin/main

Threading notes

Trash path reuses existing DeleteWorker (IO + plain-data signals only; no QWidget access in workers).

## Summary Closes #146. Adds an optional **Send duplicates to system trash** checkbox to the File Duplicate Bulk Actions dialog. When enabled (the default), duplicate losers are sent to the platform recycle bin via the existing `DeleteWorker` path — the same behavior as Trash workbench **Confirm Delete**. When unchecked, behavior is unchanged: losers receive the `DELETE` tag only (undoable). A new **Settings → Duplicates** toggle persists the dialog default (`bulk_dupe_send_to_trash_default`). ## Version Bumps to **0.3.6** (PR-prep commit). ## Testing - `pytest tests/test_bulk_dupe_trash.py` (6 tests) - `ruff check` / `ruff format --check` on `src` and `tests` - `./scripts/check-version-bump.sh origin/main` ## Threading notes Trash path reuses existing `DeleteWorker` (IO + plain-data signals only; no QWidget access in workers).
Adds a checkbox to the File Duplicate Bulk Actions dialog (enabled by
default via a new Settings preference) that sends duplicate losers to the
platform trash through DeleteWorker instead of only marking them DELETE.
test: cover bulk dupe send-to-trash dialog, settings, and flow (issue #146)
All checks were successful
CI / lint (push) Successful in 8s
CI / test (push) Successful in 14m45s
CI / appimage (push) Successful in 9m2s
CI / build-appimage (push) Successful in 0s
CI / windows-exe (push) Successful in 10m1s
CI / build-windows-exe (push) Successful in 0s
aa11ee07e6
docs: PR-prep for issue 146 — bump to 0.3.6
All checks were successful
CI / lint (push) Successful in 12s
CI / test (push) Successful in 2m23s
CI / windows-exe (push) Successful in 12m33s
CI / build-windows-exe (push) Successful in 0s
CI / appimage (push) Successful in 17m8s
CI / build-appimage (push) Successful in 0s
06a98e3193
Updates USER_GUIDE and CHANGELOG for bulk dupe send-to-trash; replaces
dev VERSION with release 0.3.6.
ValleyGeek deleted branch 0.3.5/issue-146-bulk-dupe-trash 2026-07-08 21:46:20 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
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!148
No description provided.