Motrix icon indicating copy to clipboard operation
Motrix copied to clipboard

Partially downloaded files can be deleted causing the UI to show false information

Open jimmydg opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. I've just had the misfortune to accidentally remove the partially downloaded files from my download folder. The files being:

  • {$originalfileName}
  • {$originalfileName}.aria2

Two problems:

  1. Deleting files which are being downloaded is possible;
  2. The UI still updates the progress and finishes the download, but the file already dissapeared.

Describe the solution you'd like Make it impossible to delete the file, the same way Chromium browsers solve this: image

Describe alternatives you've considered As an alternative solution, at least update the UI or trigger a notification that the partially downloaded file has been removed.

OS: Windows 10 21H1 Motrix: Motrix-1.6.11-win Portable version

jimmydg avatar Feb 26 '22 12:02 jimmydg

I think attaching a fileWatcher to the partially downloaded files will do the trick.

Sandakan avatar Apr 24 '22 04:04 Sandakan