files icon indicating copy to clipboard operation
files copied to clipboard

Progress of File transfer Not Shown

Open Fatih20 opened this issue 5 years ago • 15 comments
trafficstars

Prerequisites

  • [v] I have searched open and closed issues for duplicates.

Describe the bug

I transferred a folder from my hard drive (which is recognized as an external storage) to a flash drive (also recognized as an external storage) and there are no transfer progress windows being shown. I've also tested this with copying large files from my boot drive into itself and it also does this.

If applicable, add screenshots or screen recordings to help explain your problem. Screenshot from 2020-03-31 21 54 38 As you can see here, the transfer bar is there in the files icon but no windows informing about the progress of the transfer.

To Reproduce

Steps to reproduce the behavior:

  1. Copy huge files or folders
  2. Observe how no transfer window pops-up

Expected behavior

A transfer window should've popped up showing the progress of the transfer

Screenshots or screen recordings

Platform Information

  • [ ] I'm using the latest version from git that I've manually compiled
  • [v] I'm using the latest released stable version

Fatih20 avatar Mar 31 '20 14:03 Fatih20

How large (approx) and numerous were the files/folder being transferred?

I find it works OK transferring a largish file (100MB) from an external HD to internal disk.

The window may not show for two reasons: (1) The file operation takes less than 1 second (2) The file operation monopolises the cpu so that the code for displaying the window runs slowly or not at all. Some operations are prone to this, depending on the number and size of the files involved.

The former case is by design to avoid the window flashing briefly on screen.

Fixing the latter case requires significant refactoring of the code.

jeremypw avatar Apr 01 '20 08:04 jeremypw

I can confirm that the window does not show when transferring large numbers (10,000) of small files (1 byte) due to case (2) above.

jeremypw avatar Apr 01 '20 08:04 jeremypw

I was transferring a 10 gigabyte folders containing numerous small files (under 100 megs or so).

Fatih20 avatar Apr 01 '20 10:04 Fatih20

OK, thanks for the extra info. Files does struggle with heavy duty file operations (large numbers of files) partly due to the need to be able to undo the operation and update the view. Could you confirm whether you have trouble doing smaller operations (say moving or copying one or two video files) - does the progress window appear OK then?

jeremypw avatar Apr 01 '20 14:04 jeremypw

Prerequisites

  • [v] I have searched open and closed issues for duplicates.

Describe the bug

I transferred a folder from my hard drive (which is recognized as an external storage) to a flash drive (also recognized as an external storage) and there are no transfer progress windows being shown. I've also tested this with copying large files from my boot drive into itself and it also does this.

If applicable, add screenshots or screen recordings to help explain your problem. Screenshot from 2020-03-31 21 54 38 As you can see here, the transfer bar is there in the files icon but no windows informing about the progress of the transfer.

To Reproduce

Steps to reproduce the behavior:

  1. Copy huge files or folders
  2. Observe how no transfer window pops-up

Expected behavior

A transfer window should've popped up showing the progress of the transfer

Screenshots or screen recordings

Platform Information

  • [ ] I'm using the latest version from git that I've manually compiled
  • [v] I'm using the latest released stable version

Right-click on the "Files" icon and click "show transfer dialog"

Djcoper avatar Apr 02 '20 18:04 Djcoper

I'm having this same issue. Two things I can add are that:

  • once it doesn't pop up it won't pop up again for any file transfer until next reboot.
  • The icon at the bottom does show a progress bar but it gets stuck a 0% even after the file transfer is completed.

Licanueto avatar Apr 08 '20 14:04 Licanueto

@jeremypw I can't test this currently because I don't have that type of files.

Fatih20 avatar Apr 08 '20 14:04 Fatih20

The icon at the bottom does show a progress bar but it gets stuck a 0% even after the file transfer is completed.

Happened to me as well. You would've to remove the file app from the dock and summon it again to remove it.

Fatih20 avatar Apr 08 '20 14:04 Fatih20

I'm having the same problem. Besides the progress bar on the icon (which gets stuck after the file transfer completes) there's no other way to see the progress.

drom98 avatar May 01 '20 15:05 drom98

Some work is in progress to address this (#1154 #1260) awaiting review for a while.

jeremypw avatar May 01 '20 17:05 jeremypw

It seems that it's already in progress. Anyway it happened to me as well more than once, I think that the problem is triggered by multiple copy/move operations. More than the size of the file, in my case the problem started after doing a lot of cut & paste from various directories. I was copying files from an old hard drive to my local drive, and a network drive as well.

I can see that something is being copied by looking at files application icon in the dock. I see that there's a loading bar, but it shows only the current copy progress.

May I suggest to check if the progress bar is showing the total progress of all movements, or just one of them ?

Hope it helps :)

trane77 avatar Jun 21 '20 00:06 trane77

Happened to me as well. Any Progress on this bug?

mcnaveen avatar Jan 13 '21 15:01 mcnaveen

@mcnaveen Yes: after installing macOS the problem went away :-)

trane77 avatar Jan 14 '21 19:01 trane77

I think the caching issue talked about in #1784 may be relevant to this issue as well. I found that moving a fairly large video file to an external USB stick appeared almost instantaneously because gvfs makes it look to Files that the move has happened but the underlying system has just cached the disk write and I could tell from the flashing light on the USB stick that it was being written to for many seconds. The progress window never showed because the Files operation ended in less than a second.

jeremypw avatar Oct 22 '21 17:10 jeremypw