[Bug]: Cancelling Sort Into Folders Hangs #194
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ai-collab/bulk-image-organizer#194
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
App version
dev-0.9.4-issue-179-184
Platform
No response
Steps to reproduce
Click sort into folders then cancel while it's building a sort preview.
Expected behavior
operation stops and dialog closes
Actual behavior
Dialog operation freezes, won't close, and blocks access to the application
Additional context
7,200 images open. 3,700 tagged
Two things kept Cancel from closing the preview.
The build runs before
exec()so the loading page can paint. Cancel calledreject(), thenexec()ran anyway, reset the dialog result, and showed the loading page again with nothing left reading the cancel flag. The caller now skipsexec()when the build was cancelled. The dialog result cannot be that signal: it defaults to Rejected even after a finished build.The build also decoded every eligible thumbnail on the UI thread and relaid out the strip on each image, which is what froze a few thousand tagged images before Cancel was noticed. The preview now loads paths and filenames only. Thumbnails for a group load in chunks of 40 when that group is expanded.
On
0.10.0/issue-193-194-scroll-sort-cancel. Left open until that branch merges.