Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.2.4
-
None
-
-
175dfd25c2 (qt/qtdeclarative/dev) 175dfd25c2 (qt/tqtc-qtdeclarative/dev) ea92763900 (qt/qtdeclarative/6.3) ea92763900 (qt/tqtc-qtdeclarative/6.3) 6f6db238d4 (qt/qtdeclarative/6.4) 6f6db238d4 (qt/tqtc-qtdeclarative/6.4)
Description
TextEdit has Qt.IBeamCursor cursor shape on hover even when it's readonly and not selectable by mouse
Code sample:
import QtQuick Window { id: window width: 640 height: 480 visible: true TextEdit { anchors.fill: parent horizontalAlignment: Qt.AlignHCenter verticalAlignment: Qt.AlignVCenter text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.' wrapMode: TextEdit.WordWrap readOnly: true selectByMouse: false } }
It should have Qt.ArrowCursor cursor shape in this case.
Attachments
Issue Links
- relates to
-
QTBUG-50482 QtQuick TextInput and TextEdit should use an IBeam mouse cursor by default
- Closed
-
QTBUG-99604 TextArea and TextField don't use IBeamCursor when readOnly and selectByMouse are both true
- Closed
-
QTBUG-14769 Cursor shapes on desktop systems (windows, etc)
- Closed