After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 525136 - Reports incorrect size of directories. Does not include size of hidden (/foo/.bar) subdirectories.
Reports incorrect size of directories. Does not include size of hidden (/foo/...
Status: RESOLVED DUPLICATE of bug 329879
Product: nautilus
Classification: Core
Component: File Properties Dialog
2.20.x
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-03-30 15:53 UTC by Arash Bazrafshan
Modified: 2008-04-01 12:16 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Arash Bazrafshan 2008-03-30 15:53:31 UTC
Please describe the problem:
Mark a directory and see its properties (Ctrl + Enter). Correct size and contents of the directory will not be reported, as any subdirectory that is hidden (has a dot (.) in the beginning of its name) will not have its size or contents included in this calculation regarding the parent-directory.

This problem remains even if you show hidden files and folders (Ctrl + H)

Steps to reproduce:
1. Create a directory "/example/exampleParent".
2. Create the directory "/example/exampleParent/.exampleHiddenChild".
3. Create the file "/example/exampleParent/.exampleHiddenChild/exampleFile".
4. Place several hundred copies of the string "abcdefghijklmnopqrstuvwxyz0123456789" in the file in step 3.
5. Go to "/example".
6. Make sure hidden files and folderas are shown (Ctrl + H toggles this).
7. Mark the directory "/example/exampleParent".
8. Open up its properties (Ctrl + Enter).
9. Observe its property "Contents", having the value "nothing".

Actual results:
The contents of the directory "/example/exampleParent" are being reported as "nothing".

Expected results:
It should state that the contents of this directory is 2 items, and that this totals in some noticeable size of say 10 KB.

Generally speaking and in my opinion it should do this even if hidden files and folders are not shown. Then it should write something like this

"Contents: 2 items, totalling 10.2 KB (some files or folders are hidden)".


Does this happen every time?
Every single time.

Other information:
Ask me any question that you think I might be able to answer, but you should be able to reproduce this problem on your own, given you have the correct version of the software.
Comment 1 Cosimo Cecchi 2008-04-01 12:16:24 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


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