<table><tr><td style="">ngraham created this revision.<br />ngraham added reviewers: VDG, Frameworks.<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/D17461">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>When a <tt style="background: #ebebeb; font-size: 13px;">KDirOperator</tt> view is used in <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Detailed</span></span></span> or <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Detailed Tree</span></span></span> view, when there isn't enough horizontal space the <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Name</span></span></span> column currently gets squeezed and become illegible.</p>
<p>This patch fixes that by making the name column fixed-width so it never gets too small to read the contents; instead the view gets a horizontal scrollbar, which is preferable.</p>
<p>BUG: 401506<br />
FIXED-IN: 5.54</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>In Kate's Filesystem Browser plugin sidebar view:</p>
<p>In the open/save dialog when there's not enough horizontal space:</p>
<p>In the open/save dialog when there <em>is</em> enough horizontal space:</p>
<p>In this case, the other columns no longer stick to the right size of the view when the window is resized, which maybe isn't as nice as current behavior. Open to suggestions.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>BRANCH</strong><div><div>kdiroperator-detail-view-name-column (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17461">https://phabricator.kde.org/D17461</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/filewidgets/kdiroperatordetailview.cpp</div></div></div><br /><div><strong>To: </strong>ngraham, VDG, Frameworks<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>