fix: viewer performance for large directories (#46) #52
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!52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "0.1.21/issue-46-viewer-perf"
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 #46 — Image Viewer was very slow with directories over 1,000 images (~3s delay opening the viewer and on each A/D navigation).
Root cause
_refresh_filmstrip()decoded thumbnails for every image in the filtered session on each navigation, even though the filmstrip only paints a small visible window._restore_from_viewer_sub()ran full_activate_workbench()re-activation, re-applying unchanged filter state and triggering multiple full proxy invalidations over the entire grid.Fix
_exit_viewer_to_workbench()swaps the stack widget back without redundant workbench churn; single filter invalidation for tag changes made in the viewer.begin_batch_update/end_batch_updatecoalesce invalidations during workbench activation.clear_session_resources()releases viewer display caches on exit.Testing
Release
Bumps
VERSIONto 0.1.22.