<table><tr><td style="">ngraham retitled this revision from "[RFC] Don't show top "Open With" app for folders; only for files" to "Don't show top "Open With" app for folders; only for files".<br />ngraham edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-fl3idp5wxsofnht/">(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/D12206">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>The top app is still displayed inline for the app context menu--just not for folders.<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"><br />
<br />
**Alternatively,** According to a comment in the code, {nav Open With} was never supposed to show up for folders in the first place, but a bug prevented this from working: the value of `firstItem.url().isLocalFile()` was also checked, but this always returns true for local directories, not just local files. We could fix that issue and remove the {nav Open With} context menu items for folders, the way the comment suggested was intended:<br />
<br />
{F5807935}</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/D12206">https://phabricator.kde.org/D12206</a></div></div><br /><div><strong>To: </strong>ngraham, Frameworks, elvisangelaccio<br /><strong>Cc: </strong>rkflx, elvisangelaccio, Zren, michaelh, ngraham, bruns<br /></div>