Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
4.6.2, 5.5.1
-
None
-
libqt4-x11-4.6.2-105.1.i586; openSuse 11.2
Distribution: KDE:Qt55 / openSUSE_13.2
Name : libQt5Widgets5
Version : 5.5.1
Release : 100.1
Description
Having a QTextEdit
QTextEdit *e = new QTextEdit(0);
e->setWordWrapMode(QTextOption::WordWrap);
and I enter a long line so that a horizontal scrollbar is shown (e.g. press and hold a letter), then enter some spaces, then enter "abc".
The widget will do a word wrap and print "abc" in the second line, but the viewport is a little shifted to the right so what you see in the second
line is not "abc" but "bc" or a fragment of "a".
P.S:The same problem exists when using a Q3TextEdit