<table><tr><td style="">ahmadsamir updated this revision to Diff 79766.<br />ahmadsamir retitled this revision from "[KPropertiesDialog] Disable changing dir icon on samba shares" to "[KPropertiesDialog] Disable changing remote dir icons".<br />ahmadsamir edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-fvcwfjt5mmlw7bu/">(Show Details)</a><br />ahmadsamir edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-xsf55awr7ppwuci/">(Show Details)</a><br />ahmadsamir removed a subscriber: broulik.<br />ahmadsamir added a comment.
</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/D28679">View Revision</a></tr></table><br /><div><div><p>Exclude everything that's !isLocalFile() or desktop:/</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">Changing the icon of a dir on <span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">e.g. </span>a samba share doesn't seem to have<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> an</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
an effect, this is intentional as reading .directory would impact network</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">effect</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">resources negatively</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">this is intentional as reading .directory would impact network</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">see the bug report for more details. Change the code</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">resources negatively, see the bug report for more details</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">to only show the KIconButton only for local dirs and desktop:/</span>.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;">make && ctest<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
And testing an sftp://, the button to change the icon isn't shown</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D28679?vs=79643&id=79766">https://phabricator.kde.org/D28679?vs=79643&id=79766</a></div></div><br /><div><strong>BRANCH</strong><div><div>l-kprop (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28679">https://phabricator.kde.org/D28679</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/widgets/kpropertiesdialog.cpp</div></div></div><br /><div><strong>To: </strong>ahmadsamir, Frameworks, dfaure, sitter<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns, broulik<br /></div>