Smooth-scroll Dupe Grid and cancel Sort preview (0.10.1) #196

Merged
ValleyGeek merged 3 commits from 0.10.0/issue-193-194-scroll-sort-cancel into main 2026-11-08 15:50:55 +00:00
Member

Summary

Release 0.10.1 (from 0.10.0).

  • Dupe Grid (issue #193). Wheel scrolling uses the same row count and smooth animation as the main grid. Settings → grid scroll rows and smooth scrolling apply to both.
  • Sort into Folders (issue #194). Cancel while the preview is building closes the dialog. Previously reject() ran before exec(), and exec() opened the loading page again with nothing left to close it. The preview loads paths and filenames only; thumbnails for a tag group load in chunks of 40 when that group is expanded, instead of decoding every eligible image on the UI thread first.

Fixes #193. Fixes #194.

Tests

ruff check, ruff format --check, and pytest: 893 passed, 1 skipped, on the code commits. This PR-prep commit is version and changelog only (VERSION 0.10.1).

## Summary Release **0.10.1** (from 0.10.0). - **Dupe Grid (issue #193).** Wheel scrolling uses the same row count and smooth animation as the main grid. Settings → grid scroll rows and smooth scrolling apply to both. - **Sort into Folders (issue #194).** Cancel while the preview is building closes the dialog. Previously `reject()` ran before `exec()`, and `exec()` opened the loading page again with nothing left to close it. The preview loads paths and filenames only; thumbnails for a tag group load in chunks of 40 when that group is expanded, instead of decoding every eligible image on the UI thread first. Fixes #193. Fixes #194. ## Tests `ruff check`, `ruff format --check`, and `pytest`: 893 passed, 1 skipped, on the code commits. This PR-prep commit is version and changelog only (`VERSION` 0.10.1).
Dupe Grid is the same IconMode list as the main grid, but only the main
grid installed GridScrollFilter. Wheel scrolling there jumped a row at a
time. The filter now sits on dupe_group_grid.list_view and follows the
same scroll-rows and smooth-scroll preferences.

Rejected: a separate Dupe Grid scroll setting. The report asks for the
same motion as the main grid, and Settings already has one control for it.

VERSION is 0.10.0-bug.193.194 for this branch (issues #193 and #194).
fix(ui): close Sort into Folders when preview build is cancelled
All checks were successful
CI / lint (push) Successful in 6s
CI / test (push) Successful in 3m10s
CI / appimage (push) Successful in 10m33s
CI / build-appimage (push) Successful in 0s
CI / windows-exe (push) Successful in 13m36s
CI / build-windows-exe (push) Successful in 0s
7ddecab680
Cancel during the preview build set a flag and called reject() before
exec(). QDialog.exec() then reset the result and showed the loading page
again, and the Cancel button only set a flag nothing was reading, so the
modal dialog stayed up and blocked the app.

The caller now skips exec() when the build was cancelled. The dialog
result cannot be used for that check: it defaults to Rejected (0) even
when the build finished. Thumbnail bytes are no longer decoded while the
preview is built. Each group loads its thumbnails in chunks of 40 when
it is expanded, with one layout pass per chunk. A full decode of every
eligible image up front was the freeze on a few thousand tagged images,
and relayout-on-every-thumbnail was quadratic inside a tag group.

Rejected: building every thumbnail on a worker and then creating the
widgets in one shot. The groups start collapsed, so the bytes are not
needed until a group is opened, and a single widget burst would freeze
the same way.
docs: PR-prep for issues 193 and 194 (0.10.1)
All checks were successful
CI / lint (push) Successful in 6s
CI / test (push) Successful in 3m19s
CI / appimage (push) Successful in 10m1s
CI / build-appimage (push) Successful in 0s
CI / windows-exe (push) Successful in 11m51s
CI / build-windows-exe (push) Successful in 0s
e722b00ff1
Compiled inputs changed against origin/main, so the development suffix
0.10.0-bug.193.194 is replaced with patch release 0.10.1. The user guide
line for Dupe Grid scrolling is already in the feature commit. Sort
preview Cancel already matched the guide; the changelog records that it
now does, and that group thumbnails load when the group is expanded.
ValleyGeek deleted branch 0.10.0/issue-193-194-scroll-sort-cancel 2026-11-08 15:50:55 +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!196
No description provided.