Summary: | Copy Browser URL Causes Incorrect File Timestamp | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | vindicator <nroycea+kde> |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED DUPLICATE | ||
Severity: | minor | CC: | chinmoyrp65, elvis.angelaccio, kde, kdelibs-bugs, mail, wbauer1 |
Priority: | NOR | ||
Version: | 5.48.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
vindicator
2018-07-28 15:47:51 UTC
Thanks for reporting this bug! The behavior you noticed is funny, but easy to explain: if we convert the time and date to the corresponding epoch timestamp, we get something near 4294967296 as a result, which is the maximal number that can fit in an unsigned C++ integer. So this is obviously not the expected behavior because Dolphin does not pick up the time correctly, but makes sense as Dolphin seems to fall back to the maximal possible value (which then leads to this date in the distant future). The same happens when dragging an image from the browser to the desktop and choosing "Copy". I tried to investigate it once but failed to find a proper fix, the issue lies in KIO copy job or drop job iirc. (Btw 2106 is "-1" timestamp which it uses internally for "unknown date") I think the issue is with remote protocol's stat() method which should set UDS_MODIFICATION_TIME. In case of http it doesn't so CopyJob ends up setting it as -1. Probably related to bug#374420. Does it still happen with KDE Frameworks 5 versions newer than 5.60? No response, so let's assume it was the same problem. I cannot reproduce it here with the latest versions at least. *** This bug has been marked as a duplicate of bug 374420 *** |