bruns created this revision. bruns added reviewers: Baloo, ngraham. bruns added projects: Frameworks, Baloo. Herald added a subscriber: kde-frameworks-devel. bruns requested review of this revision.
REVISION SUMMARY When the scheduler is idle when suspending scheduleIndexing() has to be triggered, otherwise indexerState is only evaluated on the first external trigger (e.g. a changed file). On resume, scheduleIndexing() never updated the state, as Suspended did not qualify as an Idle state. This had the effect of the scheduler being stuck in the Suspended state. TEST PLAN balooctl suspend && balooctl status balooctl resume && balooctl status REPOSITORY R293 Baloo BRANCH master REVISION DETAIL https://phabricator.kde.org/D27326 AFFECTED FILES src/file/fileindexscheduler.cpp src/file/fileindexscheduler.h To: bruns, #baloo, ngraham Cc: kde-frameworks-devel, hurikhan77, lots0logs, LeGast00n, cblack, fbampaloukas, GB_2, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams