Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Display transfer speed in status center #11265

Closed
yaira2 opened this issue Feb 13, 2023 · 4 comments · Fixed by #13359
Closed

Feature: Display transfer speed in status center #11265

yaira2 opened this issue Feb 13, 2023 · 4 comments · Fixed by #13359
Assignees

Comments

@yaira2
Copy link
Member

yaira2 commented Feb 13, 2023

What feature or improvement do you think would benefit Files?

Displaying transfer speed in the status center is a popular feature request from users, we should implement it!

Requirements

  • Use OpacityIcons for every item state icons
  • Show speed graph in in-progress StatusCenter item
  • Show writing speed in the graph control area
  • Show time estimates
  • Show current processing file name
  • Show processed bytes
  • Add retry button to StatusCenter item reprepresents an operation that can be retried
  • Update title and subtitle strings

Files Version

v2.4.33

Windows Version

Windows 11

Comments

No response

@hez2010
Copy link
Member

hez2010 commented Mar 22, 2023

When I was implementing the fundamental for rich process, I once considered the support for real-time speed graph calculation. But it seems to be expensive because we need to save the speed checkpoints frequently, so I ended up with only saving a StartTime for calculating the overall average speed:

https://github.com/files-community/Files/pull/10814/files#diff-05282d70c531e5d010647b1251e70297456260db0d94a5178c7ffd0ff52b26aeR32

@fredphoesh
Copy link

Yes PLEASE! I am often copying large video files for my work, and I get anxious not knowing if anything is happening at all, and then not knowing if the process is done, can I pull out my SD card, or go make a cup of tea, how long will this take etc... very important to me.

@mdtauk
Copy link
Contributor

mdtauk commented Sep 17, 2023

This is an approach I would like to suggest... I welcome input and comments on the best approach. This is of course relevant to en_US and en_GB - other regions will need localisation considerations.

I would like to consider

  • avoid repetition of similar strings (XX% completed) for each item;
  • emphasise the action currently happening in the headings;
  • move the less important info into a tooltip. (usually the full paths for source and destination, or the source location itself);
  • use items counts as they are useful things to present to the user;

Kinds

  • Copy - Copied, Copying
  • Move - Moved, Moving
  • Recycle - Recycled, Recycling
  • Delete - Deleted, Deleting / Permanently Delete, Permanently Deleting, Permanently Deleted
  • Archive Creation Compress, Compressed, Compressing / Create, Creating, Created
  • Archive Extraction Extracted, Extracting, Extraction / Decompress, Decompressing, Decompressed

Copy

In progress

  • Copying 64 items (96%)
  • 62 / 64 items to "Destination folder name" 62 / 64 items from "Source Path" to "Destination Path"
  • Speed: 4.4 MB/s

Done

  • Copy completed
  • Successfully copied 64 items to "Destination folder name" 64 items copied from "Source Path" to "Destination Path"

Error

  • Copy unsuccessful
  • Error message why copy did not complete 2 items failed to copy to "Destination Path"

Pause

  • Paused copying 64 items (96%)
  • 62 / 64 items to "Destination folder name" 62 / 64 items from "Source Path" to "Destination Path"
  • Speed: 4.4 MB/s

Cancel

  • Copy cancelled(Cancelling copy) (96%)
  • 62 / 64 items copied to "Destination folder name"

Move

In progress

  • Moving 64 items (96%)
  • 62 / 64 items to "Destination folder name" 62 / 64 items from "Source Path" to "Destination Path"
  • Speed: 4.4 MB/s

Done

  • Move completed
  • Successfully moved 64 items to "Destination folder name" 62 / 64 items from "Source Path" to "Destination Path"

Error

  • Move unsuccessful
  • Error message why move did not complete 2 items failed to move to "Destination Path"

Pause

  • Paused moving 64 items (96%)
  • 62 / 64 items to "Destination folder name" 62 / 64 items from "Source Path" to "Destination Path"
  • Speed: 4.4 MB/s

Cancel

  • Move cancelled(Cancelling move) (96%)
  • 62 / 64 items to "Destination folder name" 62 / 64 items from "Source Path" to "Destination Path"

Recycle

In progress

  • Recycling 64 items (96%)
  • 62 / 64 items from "Source folder name" 62 / 64 items from "Source Path"
  • Speed: 4 items/s

Done

  • 64 items sent to the Recycle Bin

Error

  • Recycle incomplete
  • 62 / 64 items recycled from "Source folder name" 2 items were not sent to the Recycle Bin

Pause

  • Recycle paused (96%)
  • 62 / 64 items recycled from "Source folder name" 62 / 64 items recycled from "Source Path"
  • Speed: 4 items/s

Cancel

  • Cancelling recycle (96%)
  • 62 / 64 items sent to the Recycle Bin

Delete

In progress

  • Permanently deleting 64 items (96%)
  • 62 / 64 items from "Source folder name" 62 / 64 items from "Source Path"
  • Speed: 4 items/s

Done

  • 64 items permanently deleted

Error

  • Unable to delete items
  • Error message why delete was unsuccessful 2 items could not be deleted from "Source Path"

Pause

  • Delete paused - (96%)
  • 62 / 64 items deleted from "Source folder name" 62 / 64 items deleted from "Source Path"
  • Speed: 4 items/s

Cancel

  • Cancelling delete (96%)
  • 62 / 64 items deleted from "Source folder name" 62 / 64 items deleted from "Source Path"

Compress

In progress

  • Creating "Archive.zip" (96%)
  • Compressing 64 items from "Source folder name" Compressing 64 items from "Source Path"
  • Speed: 4 items/s

Done

  • "Archive.zip" created
  • Successfully compressed 64 items from "Source folder name" Successfully compressing 64 items from "Source Path"

Error

  • Failed to create "Archive.zip"
  • Error message why files could not be compressed to the archive file

Pause

  • Paused creating "Archive.zip" - 96% complete
  • Compressing 64 items from "Source folder name" Compressing 64 items from "Source Path"
  • Speed: 4 items/s

Cancel

  • Cancelled creating "Archive.zip"

Decompress

In progress

  • Extracting "Zipfile.7z" (96%)
  • Decompressing 64 items to "Destination folder name" Decompressing 64 items to "Destination Path"
  • Speed: 4 items/s

Done

  • Extracted "Zipfile.7z"
  • Decompressed 64 items to "Destination folder name" Decompressed 64 items to "Destination Path"

Error

  • Unable to extract "Zipfile.7z"
  • Error message why archive could not be extracted

Pause

  • Paused Extracting "Zipfile.7z" (96%)
  • Decompressing 64 items to Destination Decompressing 64 items to "Destination Path"
  • Speed: 4 items/s

Cancel

  • **Cancelled extracting "Zipfile.7z" **

Below are notes I made previously in the discord regarding the wording for the ETA messages and calculations

  • About 5 mins (5:02 - 4:58)
  • Just under 5 mins (4:57 - 4:30)
  • Just over 4 mins (4:29 - 4:03)
  • About 4 mins (4:02 - 3:58)
  • ...
  • About a minute (1:02 - 0:58)
  • In less than a minute (0:57 - 0:04)
  • In a few seconds (0:03 - 0:00)

@mdtauk
Copy link
Contributor

mdtauk commented Sep 17, 2023

Here is a visual with some of the examples
image

@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Files task board Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants