| Summary: | Cannot trash files with long names | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Ilya Bizyaev <bizyaev> |
| Component: | Trash | Assignee: | KIO Bugs <kio-bugs-null> |
| Status: | ASSIGNED --- | ||
| Severity: | normal | CC: | kdelibs-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 6.7.0 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Ilya Bizyaev
2021-02-04 15:42:43 UTC
A simpler test case is: $ touch "уууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууууу.txt" Here I used Cyrillic 'у'. If I replace it with Latin 'y', the file is trashed as expected, which hints at a wrong byte size limit somewhere. The byte size limit is apparently that of ext4: 255 bytes for the filename. .trashinfo cannot be created because it increases the filename byte size over the limit. This needs a better error message or a different trash infrastructure that does not require metadata files with longer names. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/2064 |