Any way to zoom at mouse location with keyboard?

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, xnview

random0111
Posts: 3
Joined: Sun Oct 24, 2021 2:53 am

Any way to zoom at mouse location with keyboard?

Post by random0111 »

First of all, I'm really happy with this! I tinkered with some of the settings and was able to basically turn it into a Fast Stone viewer clone. I switched to Linux recently and have been looking for an alternative and this does the job. The only thing that remains would be to able to zoom in and out of images based on the mouse pointer location.

I already set the mouse scrolling wheel to zoom in and out and that one does follow the mouse pointer. However, when I went to the shortcuts under "Interface" for the viewer, and changed the zoom in and out keys to the up and down keys, it zooms only at the center. Is there a way to make it zoom at wherever the mouse pointer is?
User avatar
xnview
Author of XnView
Posts: 36461
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Any way to zoom at mouse location with keyboard?

Post by xnview »

XnView MP?
Pierre.
random0111
Posts: 3
Joined: Sun Oct 24, 2021 2:53 am

Re: Any way to zoom at mouse location with keyboard?

Post by random0111 »

Yes, XnViewMP. I still haven't found it, so I'm assuming that setting doesn't exist?
User avatar
xnview
Author of XnView
Posts: 36461
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Any way to zoom at mouse location with keyboard?

Post by xnview »

yes currently no way
Pierre.
random0111
Posts: 3
Joined: Sun Oct 24, 2021 2:53 am

Re: Any way to zoom at mouse location with keyboard?

Post by random0111 »

Alright, thank you very much! One thing I could do is find some program where I can set up macros / remap keys and whenever i'm gonna be using this viewer for extended period, i activate a profile where the up and down keys are mapped to scroll up and scroll down on the mouse. If you add that setting it would be really good too.

By the way, when I said turn it into a FastStone clone, I meant a clone of my somewhat heavily customized FastStone Image viewer (in other words far from the default settings).

The way I have it (in XNView) is the ENTER key switches from browser to full screen. Scroll wheel zooms in and out, as well as the up / down keys on the keyboard. The left / right keys are to go to next / prev image. Additionally, images, regardless of size are set to be maximized by default. And there may be a few things I'm forgetting, but these are the major ones.

Like I said. I'm very happy overall. The zoom at pointer location is the only thing I couldn't do and everything else works.