[kde] [Bug 468881] New: Timestamps in directorysizes file for Trash shown in milliseconds instead of seconds since epoch
Lukas
bugzilla_noreply at kde.org
Sun Apr 23 22:43:12 BST 2023
https://bugs.kde.org/show_bug.cgi?id=468881
Bug ID: 468881
Summary: Timestamps in directorysizes file for Trash shown in
milliseconds instead of seconds since epoch
Classification: I don't know
Product: kde
Version: unspecified
Platform: Archlinux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: Lukas.Spies at web.de
Target Milestone: ---
SUMMARY
When deleting a folder (moving it to trash) in Dolphin or with an icon on the
desktop, then the directorysizes file stores a timestamp for that folder's
trashinfo file in milliseconds since Epoch. However, according to the
freedesktop.org specification, this should be seconds since Epoch:
"Directory size cache
(...)
The modification time is stored as an integer, the number of seconds since
Epoch."
- https://specifications.freedesktop.org/trash-spec/trashspec-latest.html
STEPS TO REPRODUCE
1. Delete a folder in Dolphin or from the desktop.
2. Check the content of the diretorysizes file
(~/.local/share/Trash/directorysizes).
OBSERVED RESULT
The timestamp (second column) is shown in milliseconds since epoch
EXPECTED RESULT
The timestamp (second column) should be shown in seconds since epoch
SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list