Zoom/scroll image in viewer option

I need to configure double click to zoom image in the viewer.
So I choose option ‘Zoom/scroll image’ in viewer Prefs but…

  1. I have multi screens and zoomed image is display in all screens. Maybe display in current screen will be better.
  2. When scroll image, Windows Taskbar is blinking, even after the viewer window is closed. Windows 11 bug ?

So I use command Show VIEWERCMD=zoom,+100 but image is always zoomed from its center. Can you add something to zoom from mouse position please

I just try to use user command with keydown instruction.

@keydown:none Show VIEWERCMD=zoom,+100 @keydown:crtl Show VIEWERCMD=zoom,-100

But too bad, it doesn't work.

Probably unrelated, but you have a typo in @keydown:crtl (should be@keydown:ctrl)

1 Like

That's by design. The Expand/Scroll mode's purpose is to display the image full-size without it being confined to the size of the viewer window. Hiding parts of the image rather using the full desktop space wouldn't really make sense.

Looks like a Windows bug since the Taskbar seems to continue freaking out after the zoomed image is closed.

What are your screen resolutions, DPIs and layout? I'll see if I can reproduce it.

Yes, it's a typo and @keydown instruction don't work in viewer command. It's a real pity.

Ok, it's by design. But display image in full size confined in a window make sense too.
Xnview has this feature and it is very handy.

I'll tell you on Monday when I'm at work.

Works with the Evaluator:

=return "Show VIEWERCMD=zoom," + (KeyDown("ctrl") ? "-" : "+") + "100"

Strange: the embedded version doesn't work. Is there a typo?

Show VIEWERCMD=zoom,{=KeyDown("ctrl") ? "-" : "+"=}100
1 Like

Just push the O key for that (original size / 100% zoom).

I don't have O key in my mouse :relieved_face:

Works in 13.15.2 :+1:

1 Like