nautilus does not count files to replace before showing "not enough space"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nautilus |
Confirmed
|
Medium
|
|||
One Hundred Papercuts |
Invalid
|
Undecided
|
Unassigned | ||
nautilus (Ubuntu) |
Triaged
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: nautilus
When you want to update a file on a destination that contains less space than the file that is to be updated (overwritten), nautilus gives you a error message saying "There is not enough space on the destination". However, nautilus didn't consider that you don't add anything on the destination, you only overwrite existing file, thus the error message is wrong.
In this situation, to avoid complex codes, nautilus should probably count size of files that are to be replaced ONLY if it detects that there's not enough space on the destination.
If nautilus does not get errors due to missing space, it should do as it already does, copy files "on the fly" without making such verifications. This way, this bug can probably be fixed without having a negative impact on nautilus performances.
Steps to reproduce :
1. Have a USB key with say... 50 Mb left.
2. Copy a file of 40Mb on that USB key.
3. Try to copy again the 40Mb file on the USB key.
Result : You get a error saying that there is not enough space on the device.
What should actually happens : No additional space needs to be taken, so nautilus should simply overwrite the file without a word, and it should in fact calculate :
if ("there is not enough space") {
if ("size available on device" < "size of files to copy" - "size of files that will be replaced") {
"Cancel file transfert and show :"
"There is not enough space on the destination drive";
}
}
Changed in nautilus: | |
status: | Unknown → New |
Changed in nautilus: | |
status: | New → Confirmed |
Changed in nautilus: | |
importance: | Unknown → Medium |
thank you for your bug report, no need to report upstream bugs on launchpad i you already opened those on bugzilla.gnome.org