Bug 181901 - Wrong trash bin size limit
Summary: Wrong trash bin size limit
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: trash (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Unspecified
: NOR normal
Target Milestone: ---
Assignee: Tobias Koenig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-25 20:04 UTC by Nicolas L.
Modified: 2009-11-15 21:36 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas L. 2009-01-25 20:04:46 UTC
Version:            (using KDE 4.2.0)
Installed from:    Mandriva RPMs

Description of problem:
When I configure the Trash bin plasmoid (the translation of the name may be
approximative), I can choose the limit size of the trash in percentage of the
/home size. Note the displayed size aside in GigaBytes is correct.
But, when I delete files, the quota is not respected, and the trash bin is full
with less data than configured.

Per exemple, on my computer, the limit is fixed at 10% of the /home size, about
63GB. When deleting files, the computer warns me the trash bin is full with
3.2GB in.
Changing the size limit seems to work, but it doesn't respects the entered
value

Version-Release number of selected component (if applicable):
KDE 4.2 Rc1


How reproducible:
Every time the trash bin grows


Steps to Reproduce:
1. Check the size of the trash bin
2. Delete files
3. The computer will warn the trash bin is full before you reached the the
fixed limit.
Comment 1 Tobias Koenig 2009-01-26 23:55:49 UTC
Hej,

works fine here, it warns only when the size has reached.
How do you measure the size of files that has been deleted?
What filesystem do you use for your home partition?

Ciao,
Tobias
Comment 2 Pierre Choffet 2009-01-27 01:54:44 UTC
Hello,

I take the liberty to answer to this bug because I'm the initial reporter on the Mandriva's bugzilla.

- I measure the size of deleted files by opening trash:/ => right click => Properties => Calculate

- The home partition uses ext3 as filesystem.
Comment 3 Kay Abendroth 2009-02-27 15:37:01 UTC
I can confirm this. I was very suprised to get a message today, saying my Trash is full. The Trash is configured to grow up to a maximum of 20% of my home partition size, which means it should allow nearly 33.42 GByte of trashed data. But right now the total size is only 2.0GiB (2.094.525.492).

`df -h | grep '/home'`
/dev/sda5             168G   28G  131G  18% /home

`mount | grep '/home'`
/dev/sda5 on /home type ext4 ...
Comment 4 Tobias Koenig 2009-11-15 09:57:17 UTC
Hej,

this issue should have been fixed in the meantime.
Can you confirm?

Ciao,
Tobias
Comment 5 Pierre Choffet 2009-11-15 15:02:24 UTC
Hi,

I've just tested in KDE 4.3.2, and the limit seems to be respected. So, the bug can be closed.

Thanks.