<table><tr><td style="">ngraham retitled this revision from "Populate UDS_CREATION_TIME on Linux if Qt version and Linux kernel support it (no effect if they don't) BUG: 286689" to "Populate UDS_CREATION_TIME on Linux if Qt version and kernel support it".<br />ngraham edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-cnqu3tvsqljxlhk/" rel="noreferrer">(Show Details)</a><br />ngraham edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-jtswiwilqa6xdag/" rel="noreferrer">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D7423" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">This speculative commit will populate UDS_CREATION_TIME if the Linux Kernel and QT version support it, following changes to do the same in FreeBSD and OpenBSD [[ https://phabricator.kde.org/D5138 | earlier this year ]].<br />
<br />
The minimum Linux kernel version is 4.11, which includes the statx() system call that reports file creation time.<br />
<br />
[[ https://github.com/qt/qtbase/commit/d3393ce25833c0afd7f0fa6b85fd6f3bd7ad520a | Support has already been added to QFile ]], but this hasn't made it into any released QT versions yet.<br />
<br />
This commit should populate UDS_CREATION_TIME if the above two conditions are met, which will have the effect of causing DOlphin to display file creation time (support for this was [[ https://phabricator.kde.org/D6243 | already added earlier ]])</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">BUG: 286689</span><br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">This will resolve https://bugs.kde.org/show_bug.cgi?id=381367 and https://bugs.kde.org/show_bug.cgi?id=286689</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Populate UDS_CREATION_TIME to make Dolphin display file creation times, if the Linux Kernel and Qt version support this: the minimum Linux kernel version is 4.11, which includes the statx() system call that reports file creation time. Support has already been added to QFile (https://github.com/qt/qtbase/commit/d3393ce25833c0afd7f0fa6b85fd6f3bd7ad520a), but this hasn't made it into any released Qt versions yet.</span></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;">Tested these changes with Dolphin in KDE Neon, and there were no regressions. File creation date was not displayed (as expected, due to lack of a released QT version that supports this), but nothing broke.<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
<br />
Will try to test against QtBase from git master.</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7423" rel="noreferrer">https://phabricator.kde.org/D7423</a></div></div><br /><div><strong>To: </strong>ngraham, dfaure, broulik, elvisangelaccio<br /><strong>Cc: </strong>ltoscano, Frameworks<br /></div>