Bug 414519 - Automatic cleanup isn't triggering
Summary: Automatic cleanup isn't triggering
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Trash (show other bugs)
Version: 5.87.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-26 09:17 UTC by Philippe ROUBACH
Modified: 2024-09-08 20:36 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe ROUBACH 2019-11-26 09:17:09 UTC
SUMMARY

trashcan, bad management of size

STEPS TO REPRODUCE
1. i choose to delete the oldest files when trashcan size > 10 % of the home partition (883 GB)
2. i go to trashcan management
3. 

OBSERVED RESULT

trashcan size is 444 GB

a side effect : my home partition is full

EXPECTED RESULT

trashcan size < 88,3 GB

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.13.3
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.1

ADDITIONAL INFORMATIO

hypothesis:

i set the maximum size for trashcan to 10 % then trashcan management displays "10,000 % (88,29 GB)"

"88,29 GB" is good

"10,000 %" for french syntax is equal to "10 %". This is good.

But if "10,000 %" is interpreted with English syntax this is equal to "ten thousand %" ! This is not good.
Comment 1 Nate Graham 2019-11-26 16:33:24 UTC
> "10,000 %" for french syntax is equal to "10 %". This is good.
> 
> But if "10,000 %" is interpreted with English syntax this is equal to "ten
> thousand %" ! This is not good.
The number is localized, so it shows up as 100.000% in English, which is fine.


Possibly Bug 205854. Does automatic cleanup get triggered if you put one more item in the trash?
Comment 2 Philippe ROUBACH 2019-11-26 17:35:16 UTC
>> Does automatic cleanup get triggered if you put one more item in the trash?

no
Comment 3 Nate Graham 2019-11-26 17:40:17 UTC
Thanks.
Comment 4 Philippe ROUBACH 2021-11-01 09:06:18 UTC
Today an old disappeared bug reappeared !

trash clean up based on the size 10 % is not executed.

Then I add "delete 7 days old files" then the trash was cleaned.

openSUSE Argon Leap 15.3
kde gear 21.08.2
plasma : 5.23.2
kde frameworks : 5.87.0
Qt : 5.15.2
Comment 5 Oleg 2024-09-08 20:36:44 UTC
Can confirm

Operating System: Arch Linux 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.8-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-7700K CPU @ 4.20GHz
Memory: 15.6 ГиБ of RAM
Graphics Processor: AMD Radeon RX 6700 XT