Fix Shift+click range anchor after Ctrl+click (0.7.2) #174

Merged
ValleyGeek merged 2 commits from 0.7.1/shift-ctrl-select-anchor into main 2026-08-22 20:09:08 +00:00
Member

Summary

  • Ctrl+click in the grid toggled selection but never updated the Shift-range anchor, so a later Shift+click always ranged from the original selection anchor instead of the most recently clicked item — inconsistent with common Explorer/Finder-style list selection conventions.
  • GridSelectionFilter now updates the anchor on a genuine (non-drag) Ctrl+click, so Shift+click continues the run from the last-clicked image, whether that click was plain or Ctrl.
  • Updated resources/help/USER_GUIDE.md and CHANGELOG.md (0.7.2) to describe the corrected behavior.

Test plan

  • pytest tests/test_grid_selection_filter.py — 9/9 pass, including a new test for Shift-after-Ctrl anchoring and an updated test reflecting the corrected Ctrl+Shift range behavior.
  • pytest (full suite) — 714 passed, 1 skipped.
  • ./scripts/check-version-bump.sh — passes (0.7.1 → 0.7.2, compiled inputs changed).

🤖 Generated with Claude Code

https://claude.ai/code/session_01DzefUecUsnBymyMs8XFQrM

## Summary - Ctrl+click in the grid toggled selection but never updated the Shift-range anchor, so a later Shift+click always ranged from the original selection anchor instead of the most recently clicked item — inconsistent with common Explorer/Finder-style list selection conventions. - `GridSelectionFilter` now updates the anchor on a genuine (non-drag) Ctrl+click, so Shift+click continues the run from the last-clicked image, whether that click was plain or Ctrl. - Updated `resources/help/USER_GUIDE.md` and `CHANGELOG.md` (0.7.2) to describe the corrected behavior. ## Test plan - [x] `pytest tests/test_grid_selection_filter.py` — 9/9 pass, including a new test for Shift-after-Ctrl anchoring and an updated test reflecting the corrected Ctrl+Shift range behavior. - [x] `pytest` (full suite) — 714 passed, 1 skipped. - [x] `./scripts/check-version-bump.sh` — passes (0.7.1 → 0.7.2, compiled inputs changed). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01DzefUecUsnBymyMs8XFQrM
fix(ui): shift-click range anchors from last ctrl-clicked item
All checks were successful
CI / lint (push) Successful in 16s
CI / test (push) Successful in 2m59s
CI / appimage (push) Successful in 16m40s
CI / build-appimage (push) Successful in 0s
CI / windows-exe (push) Successful in 18m50s
CI / build-windows-exe (push) Successful in 0s
4a7a5bc765
Ctrl+click toggled selection but never updated the shift-range anchor,
so a later Shift+click always ranged from the original anchor instead
of continuing from the most recently clicked item — inconsistent with
common Explorer/Finder-style list selection conventions.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DzefUecUsnBymyMs8XFQrM
docs: PR-prep for shift-ctrl selection anchor fix (0.7.2)
All checks were successful
CI / lint (push) Successful in 17s
CI / test (push) Successful in 2m52s
CI / appimage (push) Successful in 16m35s
CI / build-appimage (push) Successful in 0s
CI / windows-exe (push) Successful in 18m50s
CI / build-windows-exe (push) Successful in 0s
cd1ef27e64
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DzefUecUsnBymyMs8XFQrM
ValleyGeek deleted branch 0.7.1/shift-ctrl-select-anchor 2026-08-22 20:09:09 +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!174
No description provided.