qView icon indicating copy to clipboard operation
qView copied to clipboard

Zoom lock

Open jurplel opened this issue 6 years ago • 4 comments

as per request of zheung14 here

jurplel avatar Apr 27 '18 03:04 jurplel

Is this a request to fix the center zoom while scrolling? Move pic when zoom a little annoying, when the cursor is not in the center of the window. It would be great to make an option and fix Zoom on center. Thanks.

r57zone avatar Nov 17 '19 14:11 r57zone

This is a request to maintain zoom percentage while switching images. I will open an issue for disabling zooming "towards the cursor."

jurplel avatar Nov 18 '19 02:11 jurplel

@jurplel I implemented this in my qView repo. Mentioning it here as an idea in case you like how it was done. Basically, instead of "Reset Zoom" just doing a one-time fit to window, it turns into a toggle called "Zoom to Fit". When it's enabled, qView works like it did traditionally and fits the zoom level when switching images or resizing the window. Otherwise, it will leave the zoom level and image position untouched, aside from constraining the image position if that setting is enabled (another setting/feature I added in the past).

EDIT: I found this can get annoying when switching images so I added another toggle called "Navigation Resets Zoom". It's on by default and re-enables "Zoom to Fit" when switching images, but can be turned off to hold zoom/position across images.

jdpurcell avatar Jan 07 '23 22:01 jdpurcell

Yes, please add zoomlock.

I'm trying to compare two ore more different images. They have the same resolution. When I zoom into one, and then switch to the next one, I want to be able to lock the zoom.

This means that the next image to be displayed in the viewport at the exact same position and scaling as the previous image.

Scenario: for us content makers, zoomlock makes it a breeze to compare e.g. digital production images, which often differ in some detail visible only when zoomed-in, against each other.

By the way, lovely piece of software, thank you!

Matherone avatar Dec 04 '23 11:12 Matherone