<table><tr><td style="">ngraham edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-sidb4guhtt2sel4/" 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-6rl5srbbdmn6qd3/" 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);">BUG: 286689</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">FEATURE: 286689<br />
<br />
Populate UDS_CREATION_TIME to make Dolphin display file creation times, if the Linux Kernel and Qt version support this.</span><br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Populate UDS_CREATION_TIME to make Dolphin display file creat</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">- The minimum Linux kernel vers</span>ion <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">times</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">is 4.11</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">if</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">which includes</span> the <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Linux Kernel and Qt version support this: t</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">statx() system call  that reports file creation time.<br />
- T</span>he minimum <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Linux kernel</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Qt</span> version is <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">4.11</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">5.10</span>, which <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">includes the statx() system call  that reports file creation time.</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">[[ https://github.com/qt/qtbase/commit/d3393ce25833c0afd7f0fa6b85fd6f3bd7ad520a | exposes access to the system call in QFile<br />
</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Support has already been added to QFile (https://github.com/qt/qtbase/commit/d3393ce25833c0afd7f0fa6b85fd6f3bd7ad520a)</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">]]<br />
If one or both of the above are false</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">but this hasn't made it into any released Qt versions yet</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">there is no effect and UDS_CREATION_TIME is not populated</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<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">, and there were no regressions. File creation date was not displayed (as expected, due to lack of a released QT version that supports this),</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">:<br />
<br />
- Without Qt 5.10 and/or Kernel 4.11: no regressions;</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">but nothing broke</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">UDS_CREATION_TIME is not populated and no file creation dates are displayed in Dolphin</span>.<br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Will try to test against QtBase from git master.</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">- With Qt 5.10 and Kernel 4.11+: TBD (soon)</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>