Skip to content

Draft: Register long running jobs with KUiServerJobTracker

Fabian Vogt requested to merge work/jobtracker into master

Using KUiServerJobTracker, jobs taking longer (currently 2s) are registered and presented to the user. Their progress is visible and they can be paused and cancelled manually.

Tested by reproducing https://bugs.kde.org/show_bug.cgi?id=436574:

  • Open smb:// in dolphin
  • Show the terminal panel
  • Run ls, it doesn't finish
  • After some seconds, a "kiofuse" job shows up
  • Pressing the stop button stops the request and ls exits with cannot open directory '.': Operation canceled

Screenshot_20210509_195934

Draft because:

  • Needs testing, especially that killing all possible types of jobs works as expected.
  • Needs discussion. This will show up when "streaming" large files as well.
  • Needs improvement of the job display. At least the job type and filename/URL should be visible, but the application which caused the request might be useful too. KUiServerV2JobTracker with immediateProgressReporting might help here.

Merge request reports