<table><tr><td style="">ngraham created this revision.<br />ngraham added reviewers: Dolphin, Frameworks.<br />Herald added a project: Dolphin.<br />Herald added a subscriber: kfm-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/D18968">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Word-wrap KMessageWidget text to prevent the window from being widened<br />
when the text is very long.</p>

<p>CCBUG: 404232</p>

<p>Only <tt style="background: #ebebeb; font-size: 13px;">CCBUG: </tt> because word wrap only works where QLabel detects a word boundary;<br />
it will not wrap a string with no spaces or other word boundaries (e.g. <br />
"aaaaaaaaaaaaaaaaaaaa...")</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Create a new text file with a 300-character name that has spaces in it</li>
<li class="remarkup-list-item">In the KMessageWidget's error message, the file name is wrapped at the word</li>
</ul>

<p>boundaries</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R318 Dolphin</div></div></div><br /><div><strong>BRANCH</strong><div><div>word-wrap-long-kmessagewidget-text (branched from Applications/18.12)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18968">https://phabricator.kde.org/D18968</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/dolphinviewcontainer.cpp</div></div></div><br /><div><strong>To: </strong>ngraham, Dolphin, Frameworks<br /><strong>Cc: </strong>kfm-devel, alexde, feverfew, spoorun, navarromorales, firef, andrebarros, emmanuelp, mikesomov<br /></div>