Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.0.0
-
None
-
Qt5, SHA1 423d8d9af789778483850c45e72d36f79b30a915
-
4bbcbec3fa514ebadfb1cd3826925239598fcaa1
Description
It seems to me that QLineControl::internalSetText method doesn't call finishChange() if Qt5 is built with QT_NO_ACCESSIBILITY. The result is that
QLineControl doesn't signal property changes for text and cursor position when setText is called and QML TextInput component, which internally uses QLineControl, doesn't receive those either.
Run the attached textinputexample.qml with qmlscene and press the button. It will set text-property for the TextInput component. If property changes are signaled, red squares at the middle will turn green and the text "Hello World!" will appear in the editor. With Qt5 SHA1 in "Environment" part, they will remain red.