! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Erroneous time estimate on slow deletion
Status:
RESOLVED: DUPLICATE

Comments

Description rm+bxo 2008-06-09 15:58:00 CEST
Sometimes, when a file deletion takes a long time, Thunar shows a progress window with a crazy amount of hours it estimates the deletion is going to take.

Please see this image:
http://img368.imageshack.us/img368/1202/thunarpt7.png

I am using Thunar 0.9.0 on Debian Lenny AMD64.
Comment 1 rm+bxo 2008-06-09 15:59:20 CEST
Created attachment 1673 
Screenshot demonstrating the bug

Also attaching the screenshot here.
Comment 2 Harald Judt 2009-10-12 11:58:51 CEST
Created attachment 2601 
Fix crazy amount of hours and calculate correct value for estimated time

Should fix this bug (seems to only affect x86_64) and bug #4585.

I fixed both bugs at once, so you might want to split it up if you don't like the fix for bug #4585.
Comment 3 Harald Judt 2009-11-25 13:54:14 CET
Created attachment 2699 
Workaround for crazy amount of hours and calculate correct value for estimated time

The previous patch did not fix this. I thought it did, but during deletion of files over network it happened again.

The new patch is simply a workaround. If the calculated remaining time is greater than 10 years, remaining time is set to 0 and therefore not shown in the progress dialog.

I don't know what's the cause of the error. Someone has to fix it somewhere else.
Comment 4 Nick Schermer editbugs 2012-09-26 16:13:02 CEST

*** This bug has been marked as a duplicate of bug 4585 ***

Bug #4140

Reported by:
rm+bxo
Reported on: 2008-06-09
Last modified on: 2012-09-26

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information