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.
Created attachment 1673 Screenshot demonstrating the bug Also attaching the screenshot here.
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.
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.
*** This bug has been marked as a duplicate of bug 4585 ***