qt6-bb10/tests/auto/widgets/widgets
Axel Spoerl 92d837e684 QDockWidget: Do not propagate title from a closed dock widget
When a dock widget is closed while floating, it still reports being
floating even though the QWidget::windowHandle()->isVisible() returns
false. This is documented behavior and will not be changed.

c153066baa relied on the isFloating() to
return false, if the dock widget is closed. When the window title was
changed by setWindowTitle(), the change was overridden by reading the
old value from the window handle.

=> Amend the patch and add a windowHandle()->isVisible() as a condition.

In c153066baa, an autotest for the title
propagation (QTBUG-113591) was added to floatingTabs().

=> Harden the setWindowTitle() test function. Move the tests related to
QTBUG-113591 and QTBUG-117764 to this function.

Fixes: QTBUG-117764
Pick-to: 6.6 6.5
Change-Id: Id37a9a22d4d13abad4ea55c74ea4e834bdb2bfab
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
2023-10-07 00:01:22 +02:00
..
qabstractbutton CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qabstractscrollarea QAbstractScrollArea: Don't include size of invisible scrollbars 2023-07-11 01:34:19 +02:00
qabstractslider CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qabstractspinbox CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qbuttongroup CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qcalendarwidget CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qcheckbox QCheckBox: add new checkStateChanged(Qt::CheckState) signal 2023-09-05 13:43:44 +00:00
qcombobox tst_QComboBox: port away from Q_FOREACH 2023-08-07 13:28:10 +02:00
qcommandlinkbutton CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qdatetimeedit tst_QDateTimeEdit: skip parameters on EditorDateEdit declaration 2023-07-10 12:57:21 +02:00
qdial CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qdialogbuttonbox QDialogButtonBox: Manage hide and show of standard buttons 2023-09-11 13:26:56 +00:00
qdockwidget QDockWidget: Do not propagate title from a closed dock widget 2023-10-07 00:01:22 +02:00
qdoublespinbox CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qfocusframe CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qfontcombobox CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qframe CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qgroupbox tst_QGroupBox: port away from Q_FOREACH 2023-08-07 21:56:10 +00:00
qkeysequenceedit CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qlabel CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qlcdnumber CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qlineedit QtWidgets tests: port remaining users away from Q_FOREACH 2023-08-14 23:11:54 +03:00
qmainwindow Blacklist tst_QMainWindow::QTBUG52175_tabifiedDockWidgetActivated 2023-08-25 18:37:23 +02:00
qmdiarea tst_QMdiArea: port away from Q_FOREACH 2023-08-07 23:56:11 +02:00
qmdisubwindow CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qmenu CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qmenubar QtWidgets tests: port remaining users away from Q_FOREACH 2023-08-14 23:11:54 +03:00
qopenglwidget CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qplaintextedit QtWidgets tests: port remaining users away from Q_FOREACH 2023-08-14 23:11:54 +03:00
qprogressbar CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qpushbutton CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qradiobutton CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qrhiwidget Enable QWidget::grab() with QRhiWidget in the widget tree 2023-08-28 21:14:28 +02:00
qscrollarea CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qscrollbar CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qsizegrip CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qslider CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qspinbox tst_QSpinBox: handle an old TODO 2023-08-24 23:35:01 +03:00
qsplashscreen CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qsplitter tst_QSplitter: fix compiler warning 2023-09-01 00:11:51 +02:00
qstackedwidget CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qstatusbar CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qtabbar QTabBar: don't make current tab visible while tab bar is invisible 2023-08-16 22:36:35 +02:00
qtabwidget CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qtextbrowser CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qtextedit QtWidgets tests: port remaining users away from Q_FOREACH 2023-08-14 23:11:54 +03:00
qtoolbar CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qtoolbox CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qtoolbutton CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt Add QRhiWidget 2023-08-14 17:05:36 +02:00