fix(scan): show finalizing status during post-scan cleanup (#114) #135

Merged
ValleyGeek merged 2 commits from 0.2.2/issue-114-soft-lock-after-scan into main 2026-06-24 04:29:56 +00:00
Member

Summary

  • The scan progress bar froze with no feedback between the "Indexing" phase completing and "Scan Complete" appearing: _on_deep_finished runs several synchronous main-thread steps (recent-dir bookkeeping, dupe-tag-singleton pruning, optional network-share cache sync) before updating the status label, and none of it emitted progress.
  • Show a "Finalizing scan..." status message with a busy progress indicator as soon as the scan worker's finished signal fires, before this cleanup runs.
  • Route the network-share cache sync through the existing progress-UI path (already used by closeEvent) instead of running it silently.
  • Bumped to 0.2.3 (patch) and updated CHANGELOG.md / resources/help/USER_GUIDE.md.

Closes #114.

Threading notes

No worker/signal changes — this only adjusts what the main thread does with state it already owns (status_label, progress_bar) at a point where it was already executing synchronously. No QWidget/model access was added to a worker thread.

Test plan

  • ruff check / ruff format --check on src, tests, scripts
  • pytest — 540 passed, 1 skipped
  • ./scripts/check-version-bump.sh — passes (0.2.2 → 0.2.3)
  • QT_QPA_PLATFORM=offscreen ./scripts/smoke-ui-exit.sh — clean teardown, no Qt shutdown errors
  • pip install -e . in the active venv — scripts/get-version.py --canonical resolves to 0.2.3
## Summary - The scan progress bar froze with no feedback between the "Indexing" phase completing and "Scan Complete" appearing: `_on_deep_finished` runs several synchronous main-thread steps (recent-dir bookkeeping, dupe-tag-singleton pruning, optional network-share cache sync) before updating the status label, and none of it emitted progress. - Show a "Finalizing scan..." status message with a busy progress indicator as soon as the scan worker's `finished` signal fires, before this cleanup runs. - Route the network-share cache sync through the existing progress-UI path (already used by `closeEvent`) instead of running it silently. - Bumped to `0.2.3` (patch) and updated `CHANGELOG.md` / `resources/help/USER_GUIDE.md`. Closes #114. ## Threading notes No worker/signal changes — this only adjusts what the main thread does with state it already owns (`status_label`, `progress_bar`) at a point where it was already executing synchronously. No `QWidget`/model access was added to a worker thread. ## Test plan - [x] `ruff check` / `ruff format --check` on `src`, `tests`, `scripts` - [x] `pytest` — 540 passed, 1 skipped - [x] `./scripts/check-version-bump.sh` — passes (0.2.2 → 0.2.3) - [x] `QT_QPA_PLATFORM=offscreen ./scripts/smoke-ui-exit.sh` — clean teardown, no Qt shutdown errors - [x] `pip install -e .` in the active venv — `scripts/get-version.py --canonical` resolves to `0.2.3`
fix(scan): show finalizing status during post-scan cleanup (#114)
All checks were successful
CI / lint (push) Successful in 22s
CI / test (push) Successful in 3m6s
CI / appimage (push) Successful in 16m39s
CI / build-appimage (push) Successful in 0s
CI / windows-exe (push) Successful in 10m47s
CI / build-windows-exe (push) Successful in 0s
f5851458eb
The scan progress bar froze with no feedback between the "Indexing"
phase completing and "Scan Complete" appearing: _on_deep_finished runs
several synchronous main-thread steps (recent-dir bookkeeping, dupe-tag
pruning, optional network-share cache sync) before updating the status
label. Show a "Finalizing scan..." message with a busy indicator as
soon as the scan finishes, and surface real progress for the
network-share sync instead of running it silently.

Bump dev VERSION to 0.2.2-bug.114 (Kind/Bug, issue #114).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
docs: PR-prep — bump to 0.2.3 for issue #114 scan-finalize fix
All checks were successful
CI / lint (push) Successful in 8s
CI / test (push) Successful in 2m14s
CI / appimage (push) Successful in 9m28s
CI / build-appimage (push) Successful in 0s
CI / windows-exe (push) Successful in 10m23s
CI / build-windows-exe (push) Successful in 0s
88d4f772ed
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ValleyGeek deleted branch 0.2.2/issue-114-soft-lock-after-scan 2026-06-24 04:29:57 +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!135
No description provided.