qt5base-lts/tests/auto/widgets
Ahmad Samir c94bcecb22 QMdiArea: fix initial single-sub-window in TabbedView
This is somewhat of a corner case, where there is a single sub-window,
setViewMode(TabbedView) is called before addSubWindow(), and the latter
is called before show(). The sub-window would be active, i.e.
subwindow->d_func()->isActive is true and QMdiArea::aboutToActivate() is
emitted, but QMA::emitSubWindowActivated() is never called for that
sub-window, resulting in that sub-window shown as
unmaximized/with-a-title-bar instead of as maximized/tabbed as is
expected in TabbedView.

Pick-to: 6.6 6.5
Fixes: QTBUG-114188
Change-Id: Ia7b2cfd07c51867707866a1f99f70129bbdc0e3e
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2023-11-17 23:07:01 +02:00
..
dialogs Preparations to deprecate QItemDelegate 2023-10-05 21:08:45 +02:00
effects Stabilize tst_QGraphicsEffect::draw() 2023-08-25 09:04:37 +02:00
graphicsview QtWidgets tests: port remaining users away from Q_FOREACH 2023-08-14 23:11:54 +03:00
itemviews QHeaderView: relayout on resetDefaultSectionSize 2023-11-08 18:24:17 +01:00
kernel Android: skip tst_qwidget::render() 2023-11-16 21:07:46 +02:00
styles Reset palette resolve mask in windows vista style 2023-09-05 10:59:00 +02:00
util Add QPixmapIconEngine::isNull() 2023-11-08 11:11:48 +01:00
widgets QMdiArea: fix initial single-sub-window in TabbedView 2023-11-17 23:07:01 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00