qt5base-lts/tests/auto/widgets/widgets
Martin Koller 6a31466951 ensure signal subWindowActivated() triggers even when widget has focus
A widget being added to QMdiArea which currently has focus
did not trigger the subWindowActivated() signal
since the connection to the method _q_processWindowStateChanged, which
emits the signal (set up in appendChild()), was just done after
the focus was set back again to the added widget.
Setting the focus makes the widget active.
This patch changes the order: first call appendChild(), then set focus

Change-Id: I3aaf1728dc082d1323c7fbd62bfdbd2af87ab2ce
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2019-02-21 07:23:40 +00:00
..
qabstractbutton tests/auto/widgets/widgets: Avoid unconditional qWait()s 2018-04-25 11:55:34 +00:00
qabstractscrollarea winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
qabstractslider QAbstractSlider: fix invertedControls having no effect for left/right keys 2018-12-13 10:46:22 +00:00
qabstractspinbox testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
qbuttongroup Updated license headers 2016-01-21 18:55:18 +00:00
qcalendarwidget winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
qcheckbox tests/auto/widgets/widgets: Avoid unconditional qWait()s 2018-04-25 11:55:34 +00:00
qcombobox Merge remote-tracking branch 'origin/5.11' into 5.12 2018-11-27 01:00:09 +01:00
qcommandlinkbutton tst_QCommandLinkButton: Add back wait to the beginning of setAutoRepeat() 2018-05-16 06:10:08 +00:00
qdatetimeedit Fix deprecation warnings in widget autotests 2019-02-08 18:00:51 +00:00
qdial Updated license headers 2016-01-21 18:55:18 +00:00
qdialogbuttonbox tests/auto/widgets/widgets: Avoid unconditional qWait()s 2018-04-25 11:55:34 +00:00
qdockwidget Don't treat the ampersand in a titlebar as a mnemonic 2019-01-08 21:37:04 +00:00
qdoublespinbox Blacklist an extremely flaky tst_QDoubleSpinBox::editingFinished test 2018-09-15 15:39:00 +00:00
qfocusframe QFocusFrame: protect it from being moved around by accident 2018-11-27 14:59:52 +00:00
qfontcombobox Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
qframe Android: Blacklist tst_qframe::testPainting 2018-06-26 08:06:03 +00:00
qgroupbox Android: Blacklist a few cases in tst_qgroupbox 2018-06-26 08:06:04 +00:00
qkeysequenceedit Updated license headers 2016-01-21 18:55:18 +00:00
qlabel tests/auto/widgets/widgets: Avoid unconditional qWait()s 2018-04-25 11:55:34 +00:00
qlcdnumber Updated license headers 2016-01-21 18:55:18 +00:00
qlineedit QLineEdit: don't emit editingFinished if nothing was done 2019-02-12 15:29:49 +00:00
qmainwindow winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
qmdiarea ensure signal subWindowActivated() triggers even when widget has focus 2019-02-21 07:23:40 +00:00
qmdisubwindow tst_QMdiSubWindow: fix flaky setOpaqueResizeAndMove test 2018-09-15 15:39:21 +00:00
qmenu tst_QMenu: skip part of menuSize_Scrolling test 2019-02-09 13:48:16 +00:00
qmenubar Fix deprecation warnings in widget autotests 2019-02-08 18:00:51 +00:00
qopenglwidget Fix crash when combining QOpenGLWidget, QStaticText and Qt Quick 2018-08-24 08:30:28 +00:00
qplaintextedit Fix deprecation warnings in widget autotests 2019-02-08 18:00:51 +00:00
qprogressbar winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
qpushbutton winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
qradiobutton tests/auto/widgets/widgets: Avoid unconditional qWait()s 2018-04-25 11:55:34 +00:00
qscrollarea Updated license headers 2016-01-21 18:55:18 +00:00
qscrollbar Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
qsizegrip tests: un-blacklist tst_QSizeGrip::hideAndShowOnWindowStateChange on xcb 2018-06-25 13:41:50 +00:00
qslider Updated license headers 2016-01-21 18:55:18 +00:00
qspinbox Fix QSpinBox tests failing after change in the Windows QPA 2019-02-12 22:17:40 +00:00
qsplashscreen Updated license headers 2016-01-21 18:55:18 +00:00
qsplitter Unblacklist tst_QSplitter::replaceWidget(visible, not collapsed) for Linux 2018-10-04 09:48:54 +00:00
qstackedwidget Ensure result of all QTest::qWaitFor are verified 2017-10-05 15:15:36 +00:00
qstatusbar winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
qtabbar qtbase: cleanup BLACKLIST files 2018-02-13 15:20:33 +00:00
qtabwidget tst_QTabWidget: Add unconditional qWait() back 2018-05-02 09:04:14 +00:00
qtextbrowser Fix tst_qtextbrowser for configurations with builtin testdata 2018-06-22 05:02:50 +00:00
qtextedit Fix deprecation warnings in widget autotests 2019-02-08 18:00:51 +00:00
qtoolbar Fix calculation of text margin if line edit contains side widgets 2018-11-26 16:03:33 +00:00
qtoolbox Updated license headers 2016-01-21 18:55:18 +00:00
qtoolbutton winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
widgets.pro winrt: Skip/blacklist failing opengl tests 2018-05-28 08:36:55 +00:00