Folder properties window always calculates the folder size
A lightweight file manager for X
Brought to you by:
baudinr
Folder properties window shows the actual folder size
(more or less like "du -sh"). However, it is pretty
slow to calculate it, and while XFE is doing it, it
becomes frozen, until it is done.
Windows Explorer shows the properties dialog, and then
starts to compute the folder size. This appears to be
done in a separate thread or process, because the
window is still responsive.
KDE behaves the same way as Windows Explorer, but also
adds a button to stop the computation and another to
refresh it.
XFE can behave any way, it just must not freeze while
doing it.
Logged In: YES
user_id=629537
Yes, it would be better to implement a thread for this sort
of thing. I've marked this on my TODO list...
Thanks,
RB
Logged In: YES
user_id=1140109
In addition, add a list of filesystem types or a list of
directories where XFE should never automatically recurse for
calculating size.
This would include any network-mounted filesystem, as well
as some slower media.
The UI should also include a button to (re-)calculate the
size, forcing to recurse into those dirs.
Maybe, XFE should never calculate the size automatically,
but only when user asks it. (this last phrase is just an
idea, I'm not sure what users would think about it)