[Enhancement]: Bounce to Last Image #72

Closed
opened 2026-06-13 04:51:04 +00:00 by ValleyGeek · 1 comment
Owner

Affected area

Image Viewer (All Areas)

Current behavior

N/A

Desired improvement

Assign a hotkey to bounce to the last displayed image. This would bounce between two images, allowing the user to select a non-adjacent image from the filmstrip then quickly flip between the two.

References

No response

### Affected area Image Viewer (All Areas) ### Current behavior N/A ### Desired improvement Assign a hotkey to bounce to the last displayed image. This would bounce between two images, allowing the user to select a non-adjacent image from the filmstrip then quickly flip between the two. ### References _No response_
Member

Implemented on branch 0.1.44/issue-55-58-72-87-grid-nav-zoom (chained off the previous dev branch, not merged to main yet).

Added a new B viewer shortcut (customizable like other viewer shortcuts) that bounces to the previously displayed image, and bounces back again on a second press — implemented via ImageViewerSub._last_session_index, updated at the single _go_to_session_index() chokepoint that all viewer navigation (prev/next, filmstrip clicks, etc.) already funnels through, so it stays correct regardless of how you got to the current image. Covered by new tests in tests/test_pr8_viewer.py.

Bundled with #58, #55, and #87 in the same branch/PR.

Implemented on branch `0.1.44/issue-55-58-72-87-grid-nav-zoom` (chained off the previous dev branch, not merged to `main` yet). Added a new `B` viewer shortcut (customizable like other viewer shortcuts) that bounces to the previously displayed image, and bounces back again on a second press — implemented via `ImageViewerSub._last_session_index`, updated at the single `_go_to_session_index()` chokepoint that all viewer navigation (prev/next, filmstrip clicks, etc.) already funnels through, so it stays correct regardless of how you got to the current image. Covered by new tests in `tests/test_pr8_viewer.py`. Bundled with #58, #55, and #87 in the same branch/PR.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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#72
No description provided.