! 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 !
calculate directory sizes
Status:
CLOSED: FIXED
Severity:
enhancement
Product:
Thunar-vfs
Component:
General

Comments

Description Jani Monoses 2006-03-24 05:28:14 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060311 Ubuntu/dapper Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060311 Ubuntu/dapper Firefox/1.5.0.1

in the directory properties dialog show the size of the directory as windows and nautilus do

Reproducible: Always
Comment 1 Benedikt Meurer editbugs 2006-03-24 22:51:29 CET
Committed with revision 20534.

2006-03-24	Benedikt Meurer <benny@xfce.org>

	* thunar-vfs/thunar-vfs-marshal.list: Add a marshaller for the
	  "status-ready" signal for the upcoming ThunarVfsDeepCountJob.
	* thunar-vfs/thunar-vfs.{c,h}, thunar-vfs/thunar-vfs.symbols,
	  thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs-deep-count-job.{c,h}:
	  Add ThunarVfsDeepCountJob, which calculates the number of items and
	  the total size of the items in a given directory. Bug #1603.
	* thunar/Makefile.am, thunar/thunar-size-label.{c,h},
	  thunar/thunar-properties-dialog.c: Add ThunarSizeLabel widget class,
	  which handles the ThunarVfsDeepCountJob and displays the total size
	  of a file for the properties dialog. Bug #1603.
Comment 2 Jarno Suni 2006-09-09 10:46:12 CEST
Do these fixes include the feature that the sum of sizes of selected files and folders recursively is displayed in properties dialog, if multiple files are seleced? (At least Thunar 0.3.1svn-r21789 has properties dialog disabled, when multiple files are selected.)

BTW the size displayed in the status bar is IMO missleading, when a folder (among other files) is selected. Who need's to know folder file's size?
Comment 3 Benedikt Meurer editbugs 2006-09-09 10:51:21 CEST
No, the properties dialog is currently only available on a single file/folder.
Comment 4 Jarno Suni 2006-09-09 10:56:06 CEST
If I remember right, Windows does the summed calculation in properties, even if multiple files are selected. Many times it is handy to know the total size of selection.

Bug #1603

Reported by:
Jani Monoses
Reported on: 2006-03-24
Last modified on: 2010-11-07

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information