<table><tr><td style="">rjvbb 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/D18380">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Maybe we can incorporate some more intelligence here</p></blockquote>

<p>Same commit? It is a separate issue in a sense, no - you say "it *still* starts" so not a regression I introduced?</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>and set a sensible default width for the Name column when the height of the view is greater than the width.</p></blockquote>

<p>Danger! What happens if you maximise the dialog vertically (I have WM shortcuts for that and use them often)?! I think that no one would expect that the name column starts behaving differently all of a sudden when you do that.</p>

<p>The problem here is that as far as I can tell we cannot ask Qt to calculate the column outside of the normal displaying loop, and the dialog doesn't help by not adding all items at once. Maybe a minimum width can be set (during the auto-sizing phase, to be lifted when interactive mode is enabled)?</p>

<p>How "very narrow" are we talking about, and to what extent is this a real-life issue? I myself tend not to be amazed when a widget like this gets garbled when resized too small. Esp. when it's like here where 2 columns remain at the same size and the left most just keeps getting smaller.</p>

<p>Thought: if the width of the name column becomes less than the width of the date column, reduce the size of the date and size columns. Question is, by how much, and will it work to do that in the resize handler/slot. This can also be done just before interactive mode is activated. For instance, reduce the date column by 1/3rd, the size column by 50% and add the recuperated pixels to the name column width. I'll have a look tomorrow how that behaves.</p></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/D18380">https://phabricator.kde.org/D18380</a></div></div><br /><div><strong>To: </strong>rjvbb, ngraham<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>