qt5base-lts/tests/auto/widgets/widgets
Axel Spoerl b1054d45e9 Fix flakiness in tst_QDoubleSpinBox / editingFinished
setFocus() was called on a double spinbox without calling show()
first. That causes flakiness on XCB when checking focus afterwards.
The test can still fail, when focus is acquired by e.g. a system
popup.

This patch adds a show() call before setFocus() to stabilize normal
behavior. In case the double spin box is shown, but cannot acquire
focus, the test is skipped.

Fixes: QTBUG-70088
Change-Id: If02e88800a31b09a1da63dcc074eb8bb1b0df391
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
2022-10-18 11:31:25 +00:00
..
qabstractbutton Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qabstractscrollarea Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qabstractslider Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qabstractspinbox Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qbuttongroup Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qcalendarwidget Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qcheckbox Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qcombobox Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qcommandlinkbutton Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qdatetimeedit Fix use of 0 as null pointer in tst_QDateTimeEdit 2022-09-20 19:47:34 +02:00
qdial Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qdialogbuttonbox Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qdockwidget tests: skip two tests in tst_QDockWidget on Wayland 2022-10-07 13:20:24 +02:00
qdoublespinbox Fix flakiness in tst_QDoubleSpinBox / editingFinished 2022-10-18 11:31:25 +00:00
qfocusframe Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qfontcombobox Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qframe Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qgroupbox Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qkeysequenceedit Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qlabel Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qlcdnumber Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qlineedit Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qmainwindow Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qmdiarea Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qmdisubwindow Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
qmenu Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qmenubar Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qopenglwidget Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qplaintextedit Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qprogressbar Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qpushbutton Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qradiobutton Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qscrollarea Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qscrollbar Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qsizegrip Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qslider Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qspinbox Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qsplashscreen Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qsplitter Fix memory leak and clean up splitter test 2022-10-14 16:34:47 +02:00
qstackedwidget Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qstatusbar Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qtabbar Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qtabwidget Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qtextbrowser Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qtextedit Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qtoolbar Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qtoolbox Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qtoolbutton Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00