[Feature]: Duplicate Multi View Zoom / Pan #57
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ai-collab/bulk-image-organizer#57
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem or use case
Allowing the set of images in the duplicate workbenche's multi view to zoom and pan in tandem
Proposed solution
In the duplicate workbench's multi view, allow any image to be zoomed and panned while hovering over it. Apply the zoom and pan to all the images in the view, keeping each within their own scene area so they don't overlap when zoomed or panned. Effectively creating a seamless small scene for each image displayed allowing for close up inspection of all at one. Zooming needs to be applied relative to each image to keep the displayed size equivalent so that small images and large images in the viewer scale proportionately to keep the same part of the image displayed rather a fixed percentage across the set making them scale disproportionately.
Alternatives considered
No response
Implemented on branch
0.1.45/issue-21-57-67-dupe-workbench-depth(chained off the previous dev branch, not merged tomainyet).Each comparison tile in the Multi view now renders through its own
QGraphicsView/QGraphicsSceneinstead of a plain scaledQPixmap, giving every image its own clipped "scene" as you described. Scrolling the mouse wheel over any image zooms it; dragging with the middle mouse button pans it — both gestures broadcast a relative delta (a multiplicative zoom factor, or a fraction of that tile's own scrollbar range) to every other tile in the group, so they all zoom/pan in lockstep. Each tile establishes its own 1.0x baseline viafitInView, and since the broadcast is relative rather than an absolute pixel/scale value, small and large images in a group stay scaled proportionately to each other rather than drifting apart — e.g. zooming in 15% always means 15% relative to each image's own fitted size.Panning uses the middle mouse button rather than left-drag specifically so it doesn't collide with the existing left-click ("keep this one, mark others DELETE"), double-click (open Single viewer), and right-click ("mark this one DELETE") gestures already on these tiles. Zoom never goes below each tile's own fit-to-cell size, so you can't shrink an image smaller than its cell.
Bundled with #67 and #21 in the same branch/PR.
Addressed all three, pushed to
0.1.47/issue-111-86-64-89-feedback-fixes(0.1.54):fitInView()against whatever size it happened to have before the widget tree had gone through layout — it now also re-fits on every resize while still at the 1.0x baseline, so it self-corrects once its real size is known.QGraphicsViewpainted over it every frame. Replaced it with a transparent overlay that's explicitly kept on top. Also made it 1px wider, a brighter red, and dashed, per your request.Test coverage added for all three (fit-on-resize, overlay z-order, click-vs-drag distinction). Let me know how it looks on a real run.
Replicate the new dashed border styling to the image viewer and carousel for consistency
Verified — closing.