Bug 411724 - Capture module still tries to call refocus after aborting.
Summary: Capture module still tries to call refocus after aborting.
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (other bugs)
Version First Reported In: 3.3.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-08 18:24 UTC by Ray Wells 4.0
Modified: 2019-09-14 22:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In: 3.3.7
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ray Wells 4.0 2019-09-08 18:24:13 UTC
SUMMARY
 After capture run that has called for refocus via the HFR> field is aborted and restarted, the module still tries to call refocus, despite disabling the trigger and even making new capture runs.

STEPS TO REPRODUCE
1. Set up capture module and enable the refocus if HFR>.01(to trigger)
2. start imaging. which will then call for refocus.
3. stop capture run, stop focuser module, make and start start new capture run.

OBSERVED RESULT
New capture run still tries to refocus from previous call.

EXPECTED RESULT
Imaging resumes

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Linux Peppermint9 5.1.20-050120-generic x86_64 GNU/Linux
Kstars Ver. 3.3.4 2019-08-08T02:43:23Z
Qt Version: 5.9.5+dfsg-0ubuntu2.3

ADDITIONAL INFORMATION

Related to https://bugs.kde.org/show_bug.cgi?id=411722 
capture module calls for refocus too often.
Comment 1 Jasem Mutlaq 2019-09-14 21:46:30 UTC
Git commit 5c5f27a3ced17e58c58c45446a8ba84959dec963 by Jasem Mutlaq.
Committed on 14/09/2019 at 21:45.
Pushed by mutlaqja into branch 'master'.

Disable autofocus when the HFR checkbox is toggled.
FIXED-IN:3.3.7

M  +3    -1    kstars/ekos/capture/capture.cpp

https://commits.kde.org/kstars/5c5f27a3ced17e58c58c45446a8ba84959dec963
Comment 2 Ray Wells 4.0 2019-09-14 22:59:08 UTC
Easy fix. :)