Bug 444697 - KIO trash store incorrect information in directory size cache
Summary: KIO trash store incorrect information in directory size cache
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Trash (other bugs)
Version First Reported In: 5.87.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-31 08:03 UTC by stream9
Modified: 2025-07-13 18:26 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stream9 2021-10-31 08:03:44 UTC
- According to the trash specification (https://specifications.freedesktop.org/trash-spec/trashspec-latest.html) mtime field is number of SECONDS since epoch. But it seems KIO's implementation (https://github.com/KDE/kio/blob/master/src/ioslaves/trash/trashsizecache.cpp#L56) stores milliseconds since epoch therefore causing compatibility issue with other implementations.

- Also FYI specification is vague about whether mtime include leap seconds or not.