Bug 157023 - empty trash folder reports huge size
Summary: empty trash folder reports huge size
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: trash (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 161886 171412 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-31 13:34 UTC by David Rinehart
Modified: 2009-01-12 13:34 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Trash's screenshot (159.97 KB, image/png)
2008-12-13 04:36 UTC, wyldrodney
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Rinehart 2008-01-31 13:34:37 UTC
Version:           4.00.00 (using KDE 4.0.0)
Installed from:    Ubuntu Packages
OS:                Linux

Fresh install of Hardy Heron Alpha 3 with KDE 4

Run Konqueror KDE 4, click Trash. (Trash is empty.) Right click in display area and select Properties.
Size is blank, with a "Calculate" button below. Click on "Calculate",
returns a size of 16,777,216.0 TiB (18,446,744,073,709,551,616).

(Can't open Properties in Dolphin if the trash is empty, so this only appears to affect Konqueror)

david@hardy:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"
Comment 1 David Rinehart 2008-01-31 13:36:30 UTC
Reported on launchpad as Bug 187212 <187212@bugs.launchpad.net>
Comment 2 David Rinehart 2008-01-31 13:38:25 UTC
Oops - make that <https://bugs.launchpad.net/bugs/187212>
Comment 3 Tommi Tervo 2008-01-31 15:48:51 UTC
Confirmed, konqueror 4.0.1
Comment 4 Dario Andres 2008-11-30 00:04:43 UTC
Bug 161886 is duplicate of this. This issue is still present in KDE4.1.3 and recent KDE4.2svn
Comment 5 Dario Andres 2008-12-04 23:57:15 UTC
*** Bug 161886 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2008-12-04 23:58:11 UTC
*** Bug 171412 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2008-12-04 23:59:02 UTC
As stated in bug 171412 , this also happens in MSWin
Comment 8 wyldrodney 2008-12-13 04:35:02 UTC
This bug is present on KDE-4.1.3(Debian Lenny backports).

mount output: "/dev/sda1 on / type reiserfs (rw,notail)"
df output: "/dev/sda1  24996032   5391060  19604972  22% /"

Empty trash shows 16TB of free disk space.

Here is screenshot.

//Sorry for my english :)
Comment 9 wyldrodney 2008-12-13 04:36:53 UTC
Created attachment 29285 [details]
Trash's screenshot
Comment 10 David Faure 2009-01-12 12:21:28 UTC
So you guys don't like the almost-infinite size of the trash? :-)

Nice bug, I'll have a look.
Comment 11 David Faure 2009-01-12 13:34:21 UTC
SVN commit 909864 by dfaure:

Default to 0, not to (qulonglong)-1 when looking up UDS_SIZE, otherwise items
without a size (like trash:/) count as 16TB...
BUG: 157023


 M  +6 -6      directorysizejob.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=909864