Skip to content

applets/notifications: show a speed graph for file operations

Méven Car requested to merge work/meven/feature-391199 into master
  • applets/notifications: show a speed graph for file

FEATURE: 391199

image

Needs frameworks/kjobwidgets!62

Done:

  • the average speed is calculated in the period the details are shown only. We will need to transmit the duration the job has been running for. This is currently not measured. PRs to implement it: frameworks/kcoreaddons!457 (merged) frameworks/kio!1748 (merged)
  • there is a rendering issue with the AreaSeries drawing background color, I didn’t expect. Suggestion welcome how to fix this. This looks way worse in dark them.
  • tooltip appearance is green only, will need to use theme colors.

Ideas:

  • replace the progress bar with the graph
  • currently the graphing x-axis is the totalBytes, we might want to restrict to last X Gb instead (as the windows dialog do) or otherwise, or add an option. The chart shows the percent of the progress.
  • make it work with plasma-browser-integration (missing elapsedTime and maybe processedSize/totalSize). plasma-browser-integration!137 (merged)~~
  • quickcharts evaluation/refining quickcharts can’t be used, it does not allow to have full history displayed or varying interval between abscissa points. On the other hand Qt Chart is already an included dependency, this will only impact runtime slightly. It is already used in kweather and kuserfeedback. This can change later if REALLY necessary.
  • add a fallback in case we don't have speed / elapsed time and only percent data

Having gradients would need to introduce a dependency to qml Graphical Effect.

Edited by Méven Car

Merge request reports

Loading