Bug 391199 - Display graph of transfer speed over time for file operations
Summary: Display graph of transfer speed over time for file operations
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 494564 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-02-28 00:39 UTC by Zakhar
Modified: 2025-03-14 14:37 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.4.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zakhar 2018-02-28 00:39:31 UTC
It should be mentioned windows explorer copy and move operations display a very nice dialog depicting transfer speed. I am suggesting dolphin have similar graph like display for speed of transfer. Would make dolphin more complete and feature full along with improve usability.
Comment 1 Kai Uwe Broulik 2018-03-02 07:56:16 UTC
The problem is in KIO which manages such jobs. Copy job creates a subjob for every file it copies, however, they only report speed after 1 seconds at which point the job has already finished and the next one started. This is why you can see transfer rate for large files but not when copying many small ones.
Comment 2 Kai Uwe Broulik 2018-03-02 07:57:20 UTC
As for the graph, that has to be done in plasmashell's notification center (I'm its maintainer and am actually a huge fan of this modern Windows copy dialog) but we first need to figure out how to actually get that data to the application in the first place.
Comment 3 Nate Graham 2018-03-02 19:16:03 UTC
> (I'm its maintainer and am actually a huge fan of this modern Windows copy dialog)

+1, me too. It's really nice.
Comment 4 Méven Car 2021-10-08 14:44:06 UTC
> however, they only report speed after 1 seconds

KIO file_unix::copy reports progress 10 times a second or every 512KB, they could some issues elsewhere.
Comment 5 Bug Janitor Service 2024-10-12 13:29:11 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1737
Comment 6 Méven 2024-10-16 09:06:22 UTC
Git commit 0d701bcf51bd603763304235b4a37d063decdb75 by Méven Car.
Committed on 15/10/2024 at 08:06.
Pushed by meven into branch 'master'.

core/copyjob: report speed when copying multiple files

The speed measurement is done in WorkerInterface::calcSpeed currently.
Except it can only measurement for a single file operation.

Add a speed measurement to CopyJob so copying speed is properly reported
even when copying multiple files, each taking less than a second to
copy.

The speed is smoothed accross the last 8 seconds.

M  +24   -0    src/core/copyjob.cpp

https://invent.kde.org/frameworks/kio/-/commit/0d701bcf51bd603763304235b4a37d063decdb75
Comment 7 Bug Janitor Service 2024-10-18 18:41:33 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4851
Comment 8 Felix Ernst 2024-10-29 13:57:09 UTC
*** Bug 494564 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2025-03-14 14:37:47 UTC
Git commit 8a8953dd9a92318d8079849e65f94b47af2f078a by Nate Graham, on behalf of Méven Car.
Committed on 14/03/2025 at 14:37.
Pushed by ngraham into branch 'master'.

applets/notifications: show a speed graph for file operations

Uses KQuickCharts and appears in details mode.
FIXED-IN: 6.4.0

M  +1    -1    applets/notifications/package/contents/ui/components/JobDetails.qml
M  +7    -34   applets/notifications/package/contents/ui/components/JobItem.qml
A  +248  -0    applets/notifications/package/contents/ui/components/SpeedChart.qml     [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]
M  +5    -0    libnotificationmanager/job.cpp
M  +5    -0    libnotificationmanager/job.h
M  +13   -1    libnotificationmanager/job_p.cpp
M  +2    -0    libnotificationmanager/job_p.h

https://invent.kde.org/plasma/plasma-workspace/-/commit/8a8953dd9a92318d8079849e65f94b47af2f078a