qt6-bb10/tests/auto/widgets/kernel
Miikka Heikkinen 150284198b Fix rendering glitches when using native widgets in MDI subwindows
When mixing native and regular widgets in same QMdiArea, some
subwindows didn't properly get set native. This was because
when a native parentless widget was given a parent, it wouldn't
enforce native window on the new parent and its ancestors.
This happened because window flags were adjusted too late in
relation to createWinId() call in setParent_sys().
Fixed by moving the createWinId() call to its proper place.

Also removed some old Q_WS_* ifdeffing in QWidget::setParent() that
masked some native enforcement code.

Additionally removed few QEXPECT_FAILs from QWidget autotest now
that those cases work correctly.

Task-number: QTBUG-26424
Change-Id: Ib6f9d0531e5c7299e2c307734d49c81f1ffa9713
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-07-18 15:07:32 +02:00
..
qaction Expose QPA API under qpa/* 2012-05-07 20:25:24 +02:00
qactiongroup Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qapplication Fix applicationName() being empty in QApplication. 2012-07-16 16:30:55 +02:00
qboxlayout Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qdesktopwidget Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qformlayout Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qgridlayout Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qlayout QLayoutItem - make controlTypes a virtual function. 2012-04-13 10:17:44 +02:00
qshortcut Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtWidgets] 2012-05-03 06:10:20 +02:00
qsizepolicy Fix Qt 5 todo issues for QSizePolicy. 2012-05-30 01:54:45 +02:00
qstackedlayout Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qtooltip Cocoa: Improve basic window handling. 2012-03-14 23:02:12 +01:00
qwidget Fix rendering glitches when using native widgets in MDI subwindows 2012-07-18 15:07:32 +02:00
qwidget_window Remove #ifdef Q_WS_ / include / #endif conditionals. 2012-07-16 16:30:55 +02:00
qwidgetaction Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qwidgetmetatype Store the QMetaObject with the QMetaType. 2012-07-01 15:07:10 +02:00
kernel.pro Store the QMetaObject with the QMetaType. 2012-07-01 15:07:10 +02:00