Skip to content

KDynamicJobTracker: Register with KInhibitionJobTracker

Ensures that the system doesn't go to sleep while a job is running.

Reverts the KIO-specific inhibition api for CopyJob.


I think opt-out is fine, can you think of any job that wouldn’t want to keep the system on? Looking at who uses KIO::getJobTracker():

  • BlueDevil: Yes, the Bluetooth connection will just sever
  • KDE Connect: same
  • Neochat: Network connection will be temporarily be gone after suspend
  • Ark: There’s even a feature request about inhibiting suspend when extracting
  • Copying and anything in KIO: pretty much yes. Since it has a 10s grace period, a brief StatJob won’t really change
Edited by Kai Uwe Broulik

Merge request reports

Loading