Fix filmstrip truncating small duplicate groups (fixes #53) #73
No reviewers
Labels
No labels
Kind/Bug
Kind/Feature
Priority/High
Priority/Medium
Reviewed/Confirmed
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ai-collab/bulk-image-organizer!73
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "0.1.27/issue-53-filmstrip-dupe"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fixes #53 — in the Duplicates workbench Single viewer, the filmstrip now shows every image in the active duplicate group when all thumbnails fit at the current filmstrip size. Groups with 3–6 images are no longer truncated.
Root cause
filmstrip_visible_window()applied sliding-window centering and even→odd visible-count reduction even when the entire session fit in the strip. For small duplicate groups (the viewer session is only the current group), that logic hid edge images—especially for even-sized groups of 4 or 6.Fix
visible >= total, return the full[0, total)window.visible < total).Testing
test_filmstrip_visible_window_shows_entire_small_group_when_it_fits(new regression test)ruff check/ruff format --checkpytest tests/test_pr8_viewer.py(44 passed)./scripts/check-version-bump.shRelease