Summary: | Copying files to a device via MTP wipes modification date | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio-extras | Reporter: | Kubuntiac <user581> |
Component: | MTP | Assignee: | Philipp Schmidt <kde-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | cfeck, elvis.angelaccio, faure, kdelibs-bugs, sitter, yotejes502 |
Priority: | NOR | ||
Version: | 18.04.3 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Image of the date change in Dolphin |
Description
Kubuntiac
2015-01-09 18:07:36 UTC
Created attachment 90306 [details]
Image of the date change in Dolphin
Example in Dolphin
Oh wait, you are indeed using Plasma 5. Is Dolphin also the KF5 version? It has not been released yet. The about screen says Dolphin is version 4.14.1. I'm using the official Kubuntu ppa packages. Thanks for the update. Dolphin 4.14.1 does not use the KF5 kio framework, even when you run it within the Plasma 5 Workspace. Um, OK. So this would be a bug in the frameworks 4 presumably, rather than frameworks 5. It's still a bug though, and this is still the right place to file it, isn't it? Or did I accidentally file it just against frameworks 5? Yes, to both :) Oops.Sorry about that. It's been a while since I've used bugs.kde.org There is no such thing as "creation date" in posix. The date you see is "modification date". There's a bug / missing feature if it's not preserved during a copy (KIO provides the information, but every kioslave has to honour it). I just want to clarify that this is the metadata "modified" that kio-mtp should use to set the mtime on the destination file. *** Bug 424950 has been marked as a duplicate of this bug. *** https://github.com/libmtp/libmtp/issues/94 > file->modificationdate = lastModified.toSecsSinceEpoch(); // no matter what to set here, current time is taken seems to be an upstream bug |