Add 1:1 actual-size zoom button to image viewer (issue #158) #173

Merged
ValleyGeek merged 2 commits from 0.7.0/issue-158-actual-size into main 2026-08-22 16:28:22 +00:00
Member

Summary

  • Adds a 1:1 button beside Fit in the image viewer's right-column controls. It resets the view transform to identity (one image pixel per screen pixel) and switches scrollbars to as-needed so an oversized image can be panned.
  • Bumps VERSION 0.7.0 -> 0.7.1 (compiled-input change) and adds a CHANGELOG entry.
  • Documents the new button in resources/help/USER_GUIDE.md.

Threading notes: purely main-thread QGraphicsView/QPushButton work, no worker involved.

Closes #158.

Test plan

  • ruff check . / ruff format --check .
  • pytest (713 passed, 1 skipped)
  • Manual headless smoke test with a real 2000x1200 image: Fit scaled to 0.321x, clicking 1:1 snapped the transform to exactly 1.0 and enabled scrollbars (screenshot reviewed)
## Summary - Adds a **1:1** button beside **Fit** in the image viewer's right-column controls. It resets the view transform to identity (one image pixel per screen pixel) and switches scrollbars to as-needed so an oversized image can be panned. - Bumps `VERSION` 0.7.0 -> 0.7.1 (compiled-input change) and adds a CHANGELOG entry. - Documents the new button in `resources/help/USER_GUIDE.md`. Threading notes: purely main-thread `QGraphicsView`/`QPushButton` work, no worker involved. Closes #158. ## Test plan - [x] `ruff check .` / `ruff format --check .` - [x] `pytest` (713 passed, 1 skipped) - [x] Manual headless smoke test with a real 2000x1200 image: Fit scaled to 0.321x, clicking 1:1 snapped the transform to exactly 1.0 and enabled scrollbars (screenshot reviewed)
Adds an "Actual Size" button beside Fit in the image viewer's right
panel. Resets the view transform to identity (one image pixel per
screen pixel) instead of scaling to the viewport, and switches
scrollbars to as-needed so oversized images can be panned.

Threading notes: purely main-thread QGraphicsView/QPushButton work,
no worker involved.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016gxFoGEVBb1Hv3nfKwkYf7
docs: PR-prep for issue 158
All checks were successful
CI / lint (push) Successful in 17s
CI / test (push) Successful in 2m57s
CI / appimage (push) Successful in 16m55s
CI / build-appimage (push) Successful in 0s
CI / windows-exe (push) Successful in 20m2s
CI / build-windows-exe (push) Successful in 0s
d178141827
Document the viewer's new 1:1 actual-size button in the bundled user
guide, add a 0.7.1 CHANGELOG entry, and bump VERSION to the next
release (0.7.0 -> 0.7.1; compiled-inputs-changed.sh confirms src/
changed on this branch).
ValleyGeek deleted branch 0.7.0/issue-158-actual-size 2026-08-22 16:28:22 +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!173
No description provided.