Page 1 of 1

Mouse reposition on zoom in/out?

Posted: Tue Oct 07, 2014 1:14 pm
by Stone-D
When I click the zoom in or out button on the toolbar, the window resizes to fit the image - this behavior I like. However, this obviously also moves the toolbar icons so the just-pressed zoom button is no longer beneath the cursor.

This is disorienting and makes it almost impossible to rapidly ascend/descend zoom levels using the toolbar alone. Is there any way to automatically reposition the cursor when the zoom level is changed via the toolbar?

Re: Mouse reposition on zoom in/out?

Posted: Tue Oct 07, 2014 1:43 pm
by cday
Stone-D wrote:When I click the zoom in or out button on the toolbar, the window resizes to fit the image - this behavior I like. However, this obviously also moves the toolbar icons so the just-pressed zoom button is no longer beneath the cursor.

This is disorienting and makes it almost impossible to rapidly ascend/descend zoom levels using the toolbar alone. Is there any way to automatically reposition the cursor when the zoom level is changed via the toolbar?
Have you explored the View > Auto Image Size options?

If you have Fit Window to image selected, as you presumably do, you would probably need to select another option in order to be able to zoom in or out while maintaining the mouse cursor over the relevant zoom icon. Unless I'm missing something...

Re: Mouse reposition on zoom in/out?

Posted: Tue Oct 07, 2014 1:51 pm
by Stone-D
Thanks, I do have that setting active and I want to keep it - I like it as I find that it makes overall window management much simpler. The only downside is as I described when zooming. :p

Re: Mouse reposition on zoom in/out?

Posted: Tue Oct 07, 2014 2:08 pm
by cday
Stone-D wrote:Thanks, I do have that setting active and I want to keep it - I like it as I find that it makes overall window management much simpler. The only downside is as I described when zooming. :p
You are stepping through images with different pixel images presumably? Fit Window to image is not a viewing mode I normally use, and to see exactly what you are seeing I would probably need to create some test images with different dimensions. Maybe someone else can suggest a solution?

Have you considered zooming with the mouse scroll wheel, or the Zoom keyboard shortcuts + and - ?
Tools - Options....png

Re: Mouse reposition on zoom in/out?

Posted: Tue Oct 07, 2014 2:29 pm
by Stone-D
cday wrote:You are stepping through images with different pixel images presumably?
Not really. Most of the time I'm scanning through identically-sized photos that I shoot blindly in burst mode from a quadrotor, or shot during events, again in burst, using my iPhone. In the first pass, I flick through them to delete any obviously bad shots. In the second pass I'll zoom in on two similar shots to see which is better for when I crop them later.

If the image fills the width of my screen, zooming in doesn't cause a window resize, but zooming out does as the window then shrinks to fit. This obviously is rare, and the only samples I have are the ones I've already cropped.
Fit Window to image is not a viewing mode I normally use, and to see exactly what you are seeing I would probably need to create some test images with different dimensions. Maybe someone else can suggest a solution?
Try any old image with that setting. Zoom out so the window resizes. You now need to move the mouse to the button again to zoom out further.
Have you considered zooming with the mouse scroll wheel, or the Zoom keyboard shortcuts + and - ?
I use the wheel for navigating back/forwards, and I use the shortcuts when I'm more awake/active. With bulk processing, however, I prefer to sit parallel to my desk in my recliner seat with one hand on my mouse and another on my coffee cup or my phone. I tend to have a LOT of pictures to go through and that's after a full day at work 6am - 4pm. :)

Re: Mouse reposition on zoom in/out?

Posted: Tue Oct 07, 2014 3:08 pm
by cday
Stone-D wrote:
cday wrote: Fit Window to image is not a viewing mode I normally use, and to see exactly what you are seeing I would probably need to create some test images with different dimensions. Maybe someone else can suggest a solution?
Try any old image with that setting. Zoom out so the window resizes. You now need to move the mouse to the button again to zoom out further.
On a quick test I'm not seeing that, my window doesn't resize when I zoom out... ????
Stone-D wrote:
cday wrote:Have you considered zooming with the mouse scroll wheel, or the Zoom keyboard shortcuts + and - ?
I use the wheel for navigating back/forwards, and I use the shortcuts when I'm more awake/active. With bulk processing, however, I prefer to sit parallel to my desk in my recliner seat with one hand on my mouse and another on my coffee cup or my phone. I tend to have a LOT of pictures to go through and that's after a full day at work 6am - 4pm. :)
Uh... No option to navigating back/forwards using the mouse buttons, which might be ideal for your usage... :(

Re: Mouse reposition on zoom in/out?

Posted: Tue Oct 07, 2014 5:39 pm
by Stone-D
Sorry for the delay, I decided to make a video to demonstrate what I mean and fell asleep during the upload.

https://www.youtube.com/watch?v=zbHtNg7 ... e=youtu.be

Re: Mouse reposition on zoom in/out?

Posted: Tue Oct 07, 2014 6:31 pm
by cday
Thanks for the video, it would have been easier to view if the camera had been on a tripod. :D

The video show exactly what you described. I said that I didn't use the Fit window to image option myself, and couldn't reproduce the effect when I tried. I have now produced some test images with different pixel dimensions, but initially still couldn't reproduce the effect.

I asked you to confirm that you had View > Auto Image Size set to Fit window to image but have now discovered that the relevant settings (plural) are in Tools > Options... :
Tools - Options... -2.png
Using the above settings I can now reproduce the cursor issue you described. :)

But is there a way to keep the cursor on the zoom icon while zooming? I'm sorry, I can't immediately suggest one myself, and doubt if there is one although I'd be happy to be proven wrong... :(

Edit:

Wouldn't the best interface for your 'relaxed' viewing still be to zoom using the mouse wheel and to forward/back between images using the mouse buttons, if that was an available option? If this is likely to be a long-term need you could make a feature request to add those mouse button options, which would likely be quite easy to add... If your need is urgent, Pierre could possibly add them quickly in return for a suitable donation. :wink:

Re: Mouse reposition on zoom in/out?

Posted: Tue Oct 07, 2014 8:03 pm
by Stone-D
Actually I was going to donate anyway! I've been trialling numerous viewers to see which one can most effectively take over from my long time hero, ACDSee. I'm now left with XNView and ExifPro - ExifPro I've already bought but it's no longer being developed.

I do hope the window resize makes it to XNView MP, as I found that it was absent in that version. Either that or I'm blind. :)

Thanks, I'll donate first before making the request. I don't want it to seem like the donation has a condition. :)

Re: Mouse reposition on zoom in/out?

Posted: Wed Oct 08, 2014 3:00 am
by XnTriq
Reset X/Y (Tools » Options... » View » View) is supposed to make XnView maintain the position of the window at the upper left of the screen, but this seems to be buggy under certain circumstances.

Re: Mouse reposition on zoom in/out?

Posted: Wed Oct 08, 2014 10:47 am
by Stone-D
XnTriq wrote:Reset X/Y (Tools » Options... » View » View) is supposed to make XnView maintain the position of the window at the upper left of the screen, but this seems to be buggy under certain circumstances.
Hmm, thanks. Not really ideal, but I can see certain situations where that would be useful. It would be too limiting for me, though, and kinda hacky.

Anyway. That ShareIt site seems severely borked. It won't let me order more than 1 unit for the donation!

I've bought a single user license, just because I like having my name in the about screen. The license cost 26€ and I want to donate another 25. Is there an email address I can send a donation to directly via PayPal?
Wheeee!
Wheeee!
XnView Registered.jpg (88.81 KiB) Viewed 1395 times