D18968: Word-drap KMessageWidget text

Nathaniel Graham noreply at phabricator.kde.org
Tue Feb 12 19:44:25 GMT 2019


ngraham created this revision.
ngraham added reviewers: Dolphin, Frameworks.
Herald added a project: Dolphin.
Herald added a subscriber: kfm-devel.
ngraham requested review of this revision.

REVISION SUMMARY
  Word-wrap KMessageWidget text to prevent the window from being widened
  when the text is very long.
  
  CCBUG: 404232
  
  Only `CCBUG: ` because word wrap only works where QLabel detects a word boundary;
  it will not wrap a string with no spaces or other word boundaries (e.g. 
  "aaaaaaaaaaaaaaaaaaaa...")

TEST PLAN
  - Create a new text file with a 300-character name that has spaces in it
  - In the KMessageWidget's error message, the file name is wrapped at the word
  
  boundaries

REPOSITORY
  R318 Dolphin

BRANCH
  word-wrap-long-kmessagewidget-text (branched from Applications/18.12)

REVISION DETAIL
  https://phabricator.kde.org/D18968

AFFECTED FILES
  src/dolphinviewcontainer.cpp

To: ngraham, #dolphin, #frameworks
Cc: kfm-devel, alexde, feverfew, spoorun, navarromorales, firef, andrebarros, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190212/93b2b74f/attachment.html>


More information about the Kde-frameworks-devel mailing list