<table><tr><td style="">ngraham created this revision.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: Frameworks.
</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>REVISION SUMMARY</strong><div><p>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 <a href="https://phabricator.kde.org/D5138" class="remarkup-link" target="_blank" rel="noreferrer">earlier this year</a>.</p>
<p>The minimum Linux kernel version is 4.11, which includes the statx() system call that reports file creation time.</p>
<p><a href="https://github.com/qt/qtbase/commit/d3393ce25833c0afd7f0fa6b85fd6f3bd7ad520a" class="remarkup-link" target="_blank" rel="noreferrer">Support has already been added to QFile</a>, but this hasn't made it into any released QT versions yet.</p>
<p>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 <a href="https://phabricator.kde.org/D6243" class="remarkup-link" target="_blank" rel="noreferrer">already added earlier</a>)</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>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.</p></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>AFFECTED FILES</strong><div><div>src/ioslaves/file/file.cpp</div></div></div><br /><div><strong>To: </strong>ngraham, dfaure, broulik, elvisangelaccio<br /><strong>Cc: </strong>Frameworks<br /></div>