qt5base-lts/tests/auto/widgets/kernel
Axel Spoerl 99c8ffb9f2 Update window state in QWindowsWindow and QXcbWindow geometry setters
When QWidget::resize() is called on a maximized or minimized QWidget,
the window state of the widget and the corresponding QWindow is not
updated (i.e. remains maximized or minimized).

This patch updates the window state to Qt:WindowNoState when
setGeometry() is called in QWindowsWindow or QXcbWindow.

A test is added in tst_QWidget.

Fixes: QTBUG-104201
Pick-to: 6.4
Change-Id: I07491fb9293d13509573fc403750da0a50f6a785
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-06-17 18:59:22 +00:00
..
qaction Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qactiongroup Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qapplication Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qboxlayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qformlayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgesturerecognizer xcb: Delete touch points without target windows 2022-05-20 10:26:18 +02:00
qgridlayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qlayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qshortcut Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qsizepolicy Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstackedlayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtooltip Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qwidget Update window state in QWindowsWindow and QXcbWindow geometry setters 2022-06-17 18:59:22 +00:00
qwidget_window Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qwidgetaction Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qwidgetmetatype Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qwidgetrepaintmanager Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qwidgetsvariant Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qwindowcontainer Fix separate delete of window and windowcontainer 2022-05-23 21:25:46 +02:00
CMakeLists.txt Android: activate tst_QWidget 2022-03-29 13:56:14 +01:00