Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-7215

regression in WordWrap AtWordBoundary

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.6.0
    • GUI: Text handling
    • None

    Description

      The following was once sent to your previous bugtracking system, however I never got an ID assigned which can be followed, therefore I add it again as problem in this new bug tracker. The previous reply from
      qt-bugs@trolltech.com contained the subject:
      Re: [Issue N260387] regression in WordWrap AtWordBoundary

      Also for KDE this is still an unresolved problem.

      > Looking at a bug report in KDE4/kmail regarding word wrapping when
      > pasting long URLs, I found the following compatibility problem.
      > In Qt3 with QTextEdit and setWrapPolicy(QTextEdit::AtWordBoundary)
      > the text was not wrapped at "-" characters, which is good.
      > In Qt4 even with the Q3 compatibility class Q3TextEdit, the behavior
      > is different and text is wrapped at "-" characters. The same is true
      > for Qt4's QTextEdit widget.
      >
      > How can we solve the problem of not being able to paste long URLs but
      > still use word wrapping in the way it worked with Qt3 ?
      >
      > See also https://bugs.kde.org/show_bug.cgi?id=163609

      The reply from my previous task tracker entry got the following response from Qt:

      --------------------
      This is because the UnicodeTables and harfbuzz recognize a "-" as a soft hyphen ie a word break. If you look at a contribution to add this feature to
      src/gui/text/qtextlayout.cpp
      then we will seek to add that feature for a future release of Qt for Linx.

      Regards,


      Systems Test Engineer
      Keith Isdale
      Nokia, Qt Development Frameworks
      http://qt.nokia.com
      --------------------

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sletta Gunnar Sletta
            mkoller Martin Koller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes