<table><tr><td style="">TallFurryMan created this revision.<br />TallFurryMan added reviewers: mutlaqja, wreissenberger.<br />Herald added a project: KDE Edu.<br />Herald 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/D22380">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>When executing a sequence, the first job having the focus step checked was executing a focus procedure.<br />
Once the focus procedure was done, no further focus procedure would be requested by Scheduler.</p>

<p>With this change, Scheduler always requests a focus procedure when a job explicitly requires it.<br />
If the focus procedure needs to be run periodically, its period must be set in the capture sequence, and the Focus step unchecked.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>The test can be run with the Simulator profile. Focus procedure will sometimes abort, but most of the time succeed.<br />
Create a schedule plan with three targets with only Track and Focus checked, and short capture, and start Scheduler.<br />
Scheduler runs the first job, slews to target and executes the focus procedure before capturing.<br />
Scheduler shifts to the second job, slew to target, and:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">without this change, proceeds to capture even though the Focus step is checked.</li>
<li class="remarkup-list-item">with this change, executes the focus procedure prior to capture.</li>
</ul>

<p>Situation is the same for all subsequent jobs.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>bugfix__autofocus_inhibited (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D22380">https://phabricator.kde.org/D22380</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kstars/ekos/scheduler/scheduler.cpp</div></div></div><br /><div><strong>To: </strong>TallFurryMan, mutlaqja, wreissenberger<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>