[FIXED 3.1.5157] Width of control panel is getting smaller

A place to report problems and bugs in SharpCap
Forum rules


If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs

Please also read about Troubleshooting USB Issues before posting.

*** Please do not post license keys - please report any problems with licensing to 'admin' by private message ***

Please include the following details in any bug report:

* Version of SharpCap
* Camera and other hardware being user
* Operating system version
* Contents of the SharpCap log after the problem has occurred.
[If SharpCap crashes, please send the bug report when prompted instead of including the log]
mKoch
Posts: 28
Joined: Mon Sep 04, 2017 8:58 am

[FIXED 3.1.5157] Width of control panel is getting smaller

#1

Post by mKoch »

Every time when I close SharpCap and restart it, the width of the camera control panel is getting a few pixels smaller. The error sums up with every restart. I'm using 3.1.5143 and the same bug was also in the previous version.

Michael
User avatar
admin
Site Admin
Posts: 13271
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Width of control panel is getting smaller

#2

Post by admin »

Hi Michael,

I can't make this happen in my testing at the moment, it always seems to re-open at the size it was when I closed it. Any further hints on how to make this happen?

cheers,

Robin
mKoch
Posts: 28
Joined: Mon Sep 04, 2017 8:58 am

Re: Width of control panel is getting smaller

#3

Post by mKoch »

SharpCap 3.1.5143, Windows 7, screen size 1920 x 1080, camera is ASI178MM, Zoom is set to "Auto". I've uploaded a small video. There is a small piece of tape glued to the upper border of the screen. You can see that the border between picture area and control panel is moving a few pixels to the right with every restart.

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

Michael
User avatar
admin
Site Admin
Posts: 13271
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Width of control panel is getting smaller

#4

Post by admin »

Thank you for the video - very helpful. I was testing without the camera auto-opening at startup - maybe that makes a difference!

Robin
User avatar
admin
Site Admin
Posts: 13271
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Width of control panel is getting smaller

#5

Post by admin »

Ok, sorted in latest version (just uploaded).

cheers,

Robin
mKoch
Posts: 28
Joined: Mon Sep 04, 2017 8:58 am

Re: [FIXED 3.1.5157] Width of control panel is getting smaller

#6

Post by mKoch »

The error is now much smaller than before, but it is still there. May be one pixel per restart.
Of course for most users this doesn't care. But it's a problem when you use simulated mouse clicks with AutoHotKey, because after a few restarts the mouse click won't hit the intended control.

Michael
User avatar
admin
Site Admin
Posts: 13271
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: [FIXED 3.1.5157] Width of control panel is getting smaller

#7

Post by admin »

:( I will have another look...

What are you trying to achieve with Autohotkey?

thanks,

Robin
mKoch
Posts: 28
Joined: Mon Sep 04, 2017 8:58 am

Re: [FIXED 3.1.5157] Width of control panel is getting smaller

#8

Post by mKoch »

Exposure minus and gain minus. Unfortunately the click position depends on the width of the control panel.
Still waiting that you make keyboard shortcuts for these functions, which would be the far better solution.

Michael
User avatar
admin
Site Admin
Posts: 13271
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: [FIXED 3.1.5157] Width of control panel is getting smaller

#9

Post by admin »

Hi Michael,

those keyboard shortcuts may turn out to be easier! I suspect now the remaing issue may be a rounding error as the width of the panel is kept as a fraction of the full window width while the program is running, but at other times needs to be converted to/from a width in pixels.

cheers,

Robin
mKoch
Posts: 28
Joined: Mon Sep 04, 2017 8:58 am

Re: [FIXED 3.1.5157] Width of control panel is getting smaller

#10

Post by mKoch »

Yes, it seems to be a rounding error. When the control panel is wide, it shrinks by one pixel with every restart. But when the control panel is narrow, it increases by one pixel with every restart. There is exactly one position in between where it always stays at a constant width.

Michael
Post Reply