Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.0.0
-
None
Description
TextInput and TextEdit tests for mouse and key handling generally expect events to be handled immediately and are failing because that assumption is no longer true.
FAIL! : tst_qsgtextinput::dragMouseSelection() 'str1.length() > 3' returned FALSE. ()
Loc: [/home/denexter/depot/qt5/qtquick2/qtdeclarative/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp(991)]
FAIL! : tst_qsgtextinput::mouseSelectionMode(SelectWords) Compared values are not the same
Loc: [/home/denexter/depot/qt5/qtquick2/qtdeclarative/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp(1031)]
FAIL! : tst_qsgtextinput::mouseSelectionMode(default) Compared values are not the same
Loc: [/home/denexter/depot/qt5/qtquick2/qtdeclarative/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp(1031)]
FAIL! : tst_qsgtextinput::horizontalAlignment_RightToLeft() Compared values are not the same
Loc: [/home/denexter/depot/qt5/qtquick2/qtdeclarative/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp(1159)]
FAIL! : tst_qsgtextinput::maxLength() Compared values are not the same
Actual (textinputObject->text().length()): 0
Expected (qMin(i,10)): 11
Loc: [/home/denexter/depot/qt5/qtquick2/qtdeclarative/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp(1345)]
FAIL! : tst_qsgtextinput::masks() Compared values are not the same
Actual (qMin(i,8)): 1
Expected (textinputObject->text().length()): 0
Loc: [/home/denexter/depot/qt5/qtquick2/qtdeclarative/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp(1366)]
FAIL! : tst_qsgtextinput::validators() Compared values are not the same
Actual (intInput->text()):
Expected (QLatin1String("1")): 1
Loc: [/home/denexter/depot/qt5/qtquick2/qtdeclarative/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp(1392)]
Attachments
Issue Links
- relates to
-
QTBUG-78846 tst_qquicktextedit::mouseSelectionMode is flaky on OpenSuse 15
- Open