<table><tr><td style="">ngraham created this revision.<br />ngraham added reviewers: Dolphin, VDG.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />ngraham requested review of this revision.
</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/D15739">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This patch removes <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Root</span></span></span> from the default Places panel for new installations, for the following reasons:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">It's redundant; you can still get to <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">/</span></span></span> on your machine in one click using the appropriate disk entry on the bottom of the Places panel.</li>
<li class="remarkup-list-item">The <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Root</span></span></span> item shows up in red, indicating its danger. Dangerous items are probably not a good idea to show by default, especially not right next to safe items such as <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Home</span></span></span>.</li>
<li class="remarkup-list-item">It's not very useful. On Linux systems, messing around with <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">/</span></span></span> is discouraged, and Dolphin doesn't even yet have the ability to modify files and folders there anyway even if the user wanted to; it's purely read-only. The usefulness of such a thing is questionable.</li>
<li class="remarkup-list-item">By removing it, we gain room to add something more useful such as a Recent Documents item (<a href="https://phabricator.kde.org/D7446" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D7446</a>) without making the Places panel show a vertical scrollbar with Dolphin's default size.</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><p>Login in with a new user account or rm <tt style="background: #ebebeb; font-size: 13px;">~/.local/share/user-places.xbel</tt> and open Dolphin; notice that <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Root</span></span></span> is not on the Places panel.</p>

<p>[image goes here]</p>

<p>Existing user accounts are untouched.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>BRANCH</strong><div><div>remote-root-from-places-panel (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15739">https://phabricator.kde.org/D15739</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/filewidgets/kfileplacesmodel.cpp</div></div></div><br /><div><strong>To: </strong>ngraham, Dolphin, VDG<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>