Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Duplicate
-
Affects Version/s: 4.7.3
-
Fix Version/s: None
-
Component/s: GUI: Text handling, QML: Declarative and Javascript Engine
-
Labels:
-
Environment:It is for Harmattan, but reproducible even on linux desktop
Description
Use this QMl,
Rectangle { width: 640 height: 480 TextEdit { width: 640 text: "Hello Qml, This is a text of the word wrapping case" font.family: "Helvetica" font.pointSize: 20 color: "blue" focus: true wrapMode: TextEdit.WordWrap } }
At the end of the word case, enter spacebar multiple times.
Expected Outcome: It moves to next line and it also increases the indent as per the number of spacebar's
Actual Outcome: It moves to next line, but doesnt increase the indent. It always satrts from the first character space
of the second line, no matter how many spaces you give.
Note: This also happens if you enter space bar's from the middle of the text provided, say after the word "wrapping".
Attachments
Issue Links
- is related to
-
QTBUG-19745 A wrapping TextEdit's cursor not drawn in the end of a line after whitespace
-
- Closed
-
- is required for
-
QTCOMPONENTS-760 TextArea Wrap problems with whitespace in the end of a line
-
- Open
-