-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.6.2, 5.9.1, 5.10.0 Alpha, 5.14.1
-
None
-
Windows 10
-
0fe6f818d (dev), 16407d12e (tqtc/lts-6.2), f7f8274ca (tqtc/lts-5.15), b0d395e27 (6.5), 2494dd0aa (6.4)
If you put a soft hyphen symbol (unicode or html) in TextEdit, then the selection is incorrectly drawn.
Example:
TextEdit { anchors.fill: parent text: "En\u00ADter so\u00ADme te\u00ADxt, en\u00ADter so\u00ADme te\u00ADxt, en\u00ADter so\u00ADme te\u00ADxt, en\u00ADter so\u00ADme te\u00ADxt." font.pointSize: 20 wrapMode: TextEdit.Wrap // or html version //textFormat: Text.RichText //text: "En­ter so­me te­xt, en­ter so­me te­xt, en­ter so­me te­xt, en­ter so­me te­xt." }
For Gerrit Dashboard: QTBUG-62620 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
461134,10 | Text: fix Soft hyphen rendering in QTextLayout::glyphRuns() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
461941,2 | Text: fix Soft hyphen rendering in QTextLayout::glyphRuns() | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
461942,2 | Text: fix Soft hyphen rendering in QTextLayout::glyphRuns() | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
461945,2 | Text: fix Soft hyphen rendering in QTextLayout::glyphRuns() | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
461946,2 | Text: fix Soft hyphen rendering in QTextLayout::glyphRuns() | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
462170,1 | Text: fix Soft hyphen rendering in QTextLayout::glyphRuns() | 6.4.3 | qt/qtbase | Status: ABANDONED | -1 | 0 |