Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.0
-
None
-
Arch Linux, Windows
-
cd1cdd1516c7904902e08a26605f9e62032489fe
Description
When a word is broken due to a QChar::SoftHyphen, the hyphen should be visible. See attached test case and result.
bug.cpp
#include <QApplication> #include <QTextEdit> #include <QString> int main(int argc, char *argv[]) { QApplication app(argc, argv); QTextEdit edit; edit.setText(QString("Onebigass") + QChar::SoftHyphen + QString("mofoword")); edit.resize(100, 50); edit.show(); return app.exec(); }
Expected result
Onebigass- mofoword
Actual result (see screenshot)
Onebigass mofoword
Attachments
Issue Links
- is duplicated by
-
QTBUG-43892 Hyphen not rendered in QML 2.4 if text is wrapping and contains soft hyphen
- Closed
- is required for
-
QTBUG-44257 Soft hyphen protrudes from rest of text
- Closed