| Summary: | The "Delete Oldest Files From Trash" option does nothing | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Antti Savolainen <antti.savo> |
| Component: | Trash | Assignee: | Pan Zhang <zhangpan> |
| Status: | REOPENED --- | ||
| Severity: | normal | CC: | kdelibs-bugs-null, nate, unsaved4197+6p4t3t5q, zhangpan |
| Priority: | NOR | ||
| Version First Reported In: | 6.10.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=504785 | ||
| Latest Commit: | https://invent.kde.org/frameworks/kio/-/commit/eb85a1ee051565a79b63b5b1dc65a8300d9080a6 | Version Fixed/Implemented In: | 6.19 |
| Sentry Crash Report: | |||
|
Description
Antti Savolainen
2023-05-10 19:34:42 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/2006 I reproduced this issue on the master branch, and I’ve already fixed it and submitted a merge request. MR:https://invent.kde.org/frameworks/kio/-/merge_requests/2006 Git commit eb85a1ee051565a79b63b5b1dc65a8300d9080a6 by Méven Car, on behalf of Pan Zhang. Committed on 28/09/2025 at 12:17. Pushed by meven into branch 'master'. trashimpl: Fix size limit check to allow automatic deletion Previously adaptTrashSize() rejected new files whenever 'partitionSize + additionalSize' exceeded the limit, even if removing older/bigger files could make enough room. Now we only reject when the new file itself is larger than the maximum allowed trash size, so the cleanup policy (delete oldest / biggest) works as intended. M +4 -3 src/kioworkers/trash/trashimpl.cpp https://invent.kde.org/frameworks/kio/-/commit/eb85a1ee051565a79b63b5b1dc65a8300d9080a6 The setting still does nothing. Demonstrative video: https://youtu.be/MHMXGjJSh0A As far as I understand it, this was supposed to be fixed in Frameworks 6.19 SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.5.1 KDE Frameworks Version: 6.19.0 Qt Version: 6.10.0 Kernel Version: 6.17.7-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i7-7600U CPU @ 2.80GHz Memory: 24 GiB of RAM (23.2 GiB usable) Graphics Processor: Intel® HD Graphics 620 Manufacturer: LENOVO Product Name: 20HG0003SG System Version: ThinkPad T470s |