<table><tr><td style="">TallFurryMan created this revision.<br />TallFurryMan added a reviewer: mutlaqja.<br />Restricted Application added a project: KDE Edu.<br />Restricted Application added a subscriber: kde-edu.<br />TallFurryMan requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D13638">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This change causes the time elapsed since the last periodic refocus<br />
("Refocus every X minutes" in the capture tab) to be kept between<br />
sequences. This enforces the periodicity of the refocus procedure.</p>
<p>When a sequence provides a different periodicity than the previous, the<br />
refocus procedure executes at the specified different periodicity. The<br />
initial delay before refocus in the new sequence thus is measured from<br />
the last refocus time, instead of the start of the new sequence. It can<br />
happen that the new sequence will cause a refocus immediately (in any<br />
case after the first capture) if there was no or a large periodicity<br />
in the previous sequence compared to the new.</p>
<p>Warning, as before, in order to use the periodic refocus, a preliminary<br />
autofocus must be done, either manually in the focus tab or<br />
automatically through the scheduler step "Focus".</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>A simple test is provided as "Tests/capture/jobs_using_refocus.esl". To<br />
use that test, copy "Tests/capture/2x10x20s_refocus1min.esq" to<br />
"/var/tmp/kstars_tests".</p>
<p>The test vector is made of three schedule jobs on Kocab, using a<br />
sequence causing a periodic refocus every minute. The first job is<br />
configuring a Focus step to avoid the capture tab failing to focus.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>improve__keep_capture_focus_period (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D13638">https://phabricator.kde.org/D13638</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>Tests/capture/2x10x20s_refocus1min.esq<br />
Tests/capture/jobs_using_refocus.esl<br />
kstars/ekos/capture/capture.cpp<br />
kstars/ekos/capture/capture.h</div></div></div><br /><div><strong>To: </strong>TallFurryMan, mutlaqja<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>