<table><tr><td style="">TallFurryMan created this revision.<br />TallFurryMan added reviewers: mutlaqja, wreissenberger.<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/D14601">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Reworked Scheduler startup functions so that all execution paths use "startJobEvaluation".<br />
Function "startJobEvaluation" is also called when clicking button "Only evaluate jobs".<br />
D-Bus interface "resetAllJobs" is altered to execute an evaluation too.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>In the context of starting the Scheduler, create or load a set of Scheduler Jobs.</p>

<p>Note there is a difference in this Test Plan between full evaluation and on-th-fly evaluation:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Full evaluation resets the states of all Scheduler Jobs and unconditionally refreshes the capture storage.</li>
<li class="remarkup-list-item">On-the-fly evaluation is lighter, does not check storage, and only applies to IDLE, EVALUATION and ABORTED jobs.</li>
</ul>

<p>If loading, full evaluation is called after the XML load is successful.</p>

<p>If creating, on-the-fly evaluation is called every time a control is updated.</p>

<p>Note the regression with Track/Align/Focus/Guide in that context, will be fixed later on.</p>

<p>Start the Scheduler, full evaluation is called.<br />
This fix eliminates remaining issues with capture counts not proper in the Scheduler.<br />
Now the correct captured frame map is transferred to the capture module and we can start fixing things there.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>bugfix__scheduler_startup_rework (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14601">https://phabricator.kde.org/D14601</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>