Page 1 of 1

[FIXED 3.1.5174] Horizontal scrollbar isn't centered when zooming in

Posted: Tue May 01, 2018 4:46 pm
by mKoch
Robin,

with my ASI178 camera I typically use two different zoom settings. "Zoom auto" for viewing the full field, and "Zoom 300%" for focusing. When I switch from auto to 300%, the vertical scrollbar is always in the center (this is good!). But the horizontal scrollbar isn't in the center, so that I must always slide it to the center to see the planet.

SharpCap 3.1.5164, Windows 7, ASI178MM

Michael

Re: Horizontal scrollbar isn't centered when zooming in

Posted: Wed May 02, 2018 6:29 am
by admin
Hi

If you zoom using CTRL+Mouse Wheel then the point under the mouse cursor should remain stationary while zooming in or out (or at least it will once the image has filled the area available to it). This might work for you.

Robin

Re: Horizontal scrollbar isn't centered when zooming in

Posted: Wed May 02, 2018 10:39 am
by mKoch
But I want to use SharpCap without mouse, especially when it's really cold in winter. For switching between zoom auto and zoom 300% I use simulated mouseclicks in AutoHotKey.
I just found out that the problem with the horizontal scrollbar isn't always there.
If there is no histogram or focus assistant below the main image, then it works perfecly and the horizonlal scrollbar is indeed centered when switching from auto to 300%.
But if the histogram or focus assistant is visible, then the horizontal scrollbar jumps to about 80% after switching from zoom auto to zoom 300%. That makes no sense because normally the planet is in the middle of the image.

Michael

Re: Horizontal scrollbar isn't centered when zooming in

Posted: Wed May 02, 2018 4:17 pm
by admin
Weird, I see what you mean that it works without the histogram showing and not with. Will investigate.

cheers,

Robin

Re: Horizontal scrollbar isn't centered when zooming in

Posted: Wed May 02, 2018 5:48 pm
by admin
Ok, it was zooming trying to keep the point in the middle of the area available for displaying the image fixed. If the image fills or nearly fills that area then everything is well. If you show the histogram that makes the autozoom image smaller and that middle point is to the right of the image :)

Will be fixed in next 3.1 release.

cheers,

Robin

Re: Horizontal scrollbar isn't centered when zooming in

Posted: Wed May 02, 2018 6:08 pm
by mKoch
yes, that's a logical explanation. A simple solution would be to center the image in the available area.

Michael

Re: [FIXED 3.1.5174] Horizontal scrollbar isn't centered when zooming in

Posted: Wed May 09, 2018 12:12 pm
by mKoch
Thanks for solving this problem!

Michael