<table><tr><td style="">ngraham edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ohs6lc3ci2tidrp/">(Show Details)</a><br />ngraham edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-onlapgqz4o3vccy/">(Show Details)</a><br />ngraham added reviewers: meven, apol, dfaure.
</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/D13048">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">`KIO::iconNameForUrl()` was doing a lot of redundant work on file items that `KFileItem::iconName()`<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
</span>already does for us. This<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span>patch<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">g</span> moves most of that logic into `KFileItem::iconName()`<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">, which also results in fixing https://bugs.kde.org/show_bug.cgi?id=356045</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> when operating<br />
on local files (not for remote files, which may be slower, and for which we don't want to stat)</span>.<div style="padding: 8px 0;">...</div>FIXED-IN: 5.<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">47</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">60</span></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>- Used the system with this patch in place for <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">2 days;</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">one year;</span> did not find any instances of incorrect icons<div style="padding: 8px 0;">...</div>- No test regressions<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> (had to fix one test to expect `folder` instead of `inode-directory`, which is more correct anyway (and there's no visual difference between them because `inode-directory` is a symlink to `folder`)</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/D13048">https://phabricator.kde.org/D13048</a></div></div><br /><div><strong>To: </strong>ngraham, Frameworks, broulik, meven, apol, dfaure<br /><strong>Cc: </strong>apol, kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns<br /></div>