Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
6.1.0 Beta2
-
None
Description
https://bugreports.qt.io/browse/QTBUG-57446 solved the IBeam cursor problem for Controls 2 but it should have been added to TextInput because now it's inconsistent with TextEdit which uses the IBeam cursor by default after https://bugreports.qt.io/browse/QTBUG-50482. Alternatively, getting rid of TextEdit's IBeam cursor might also fix the problem because it seems to be duplicated by TextArea.
There is also an issue where TextField and TextArea introduce a noticeable selection delay on mouse or touch platforms when selectByMouse is enabled. This is because of how they intercept and delay press events. Here is a reproducible example:
Edit: It turns out the second problem is a duplicate of https://bugreports.qt.io/browse/QTBUG-72285.
import QtQuick import QtQuick.Controls Window { visible: true Column { TextField { width: 200 height: 32 selectByMouse: true text: "Bad" } TextArea { width: 200 height: 200 selectByMouse: true text: "Bad" } TextInput { width: 200 height: 32 selectByMouse: true text: "Good" } TextEdit { width: 200 height: 200 selectByMouse: true text: "Good" } } }