summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2020-10-05 15:02:06 +0200
committerAntónio Fernandes <antoniojpfernandes@gmail.com>2021-01-17 22:50:56 +0000
commit1ebadd63c27ab682a08db9cb902092101f49f3c6 (patch)
tree579e592a58158d9e1b4647b727b3004ea292b283 /test
parent7d29b05e4513e38c3f1cccf7b8092d7dc2ef8530 (diff)
downloadnautilus-1ebadd63c27ab682a08db9cb902092101f49f3c6.tar.gz
file-operations: Do not report remaining time if progress is not reported
Some GVfs backends doesn't report progress except the total file size. With the previous patch applied, the remaining time is calculated after each successfully transfered file for such backends. This is fine for small files, but looks weird for big files as the estimated time is not updated regularly, so it looks like hang. One possible solution would be to update the remaining time periodically even if progress is not reported from GIO. However, this could again lead to situations, which would look like that the transfer is hanged. Let's do not report remaining time at all when progress is not reported to reduce confusion.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions