-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.3, 6.6.0
Reproducer (Rectangle is simply for better visibility):
Window {
width: 400
height: 300
visible: true
Rectangle {
border.color: "black"
width: 200
height: 40
TextInput {
anchors.fill: parent
clip: true
cursorVisible: true
cursorDelegate: Rectangle {
width: 10
height: 40
color: "gray"
}
}
}
}
Input some text into TextInput until it reaches the end of its width, then one can see that cursor is out of boundary on right side. And if one moves cursor back to the beginning of text, it can be observed that text is "pushed" out of boundary. How far does the text go equals the width of cursorDelegate.
- relates to
-
QTBUG-79878 TextField always clips
-
- Open
-
| For Gerrit Dashboard: QTBUG-118629 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 595546,28 | CursorDelegate in TextInput is moving out of the boundary | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |
| 600287,19 | TextInput: refactor cursor handling | dev | qt/qtdeclarative | Status: NEW | +1 | 0 |