qt6-bb10/tests/auto/widgets
Axel Spoerl 9ff40b59da Fix QDockWidget parenting and dock permissions
Check DockWidgetArea permissions of QDockWidgetGroupWindows with single
dock widget. Obtain a dock widget's tab position from a dock widget
group window if it can't be established otherwise. Remove hardcoded
assumption that a dock widget is in the left dock. Both cases have lead
to inconsistent entries and dangling pointers in
QDockAreaLayoutInfo::item_list.
Remove warning: QMainWindowLayout::tabPosition called with out-of-bounds
value '0', which becomes obsolete by the fix.
Create a QDockWidgetGroup window prepered to become a floating tab,
whenever a dock widget is being hovered over. Store it in item_list so
it can be found and deleted when required.
No longer call e->ignore() after propagating close events to the first
dock widget and thus preventing others from receiving the event.
Add logging category qt.widgets.dockwidgets
Update dock widget autotest with tests to check the fixes mentioned:
plugging, unplugging, hiding, showing, closing and deleting.
Blackist closeAndDelete, floatingTabs test on macos, QEMU, arm, android
due to flaky isFloating() response after a dock widget has been closed
or plugged.
QSKIP dockPermissions and floatingTabs test on Windows due to mouse
simulation malfunction.
QSKIP hideAndShow test on Linux in case of xcb error (QTBUG-82059)

Fixes: QTBUG-99136
Pick-to: 6.3 6.2
Change-Id: Ibd353e0acc9831a0d67c9f682429ab46b94bdbb0
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-04-19 17:12:20 +00:00
..
dialogs Activate tst_qmessagebox for Android 2022-04-05 18:40:17 +01:00
effects Fix tst_qgraphicseffect on Wayland 2021-03-11 08:04:21 +01:00
graphicsview Android: Blacklist failing tests on tst_QGraphicsProxyWidget 2022-03-22 17:49:05 +02:00
itemviews QAbstractItemView: with single selection, deselect on Ctrl+Release 2022-03-24 00:42:00 +01:00
kernel Replace uses of _qs with _s in tests 2022-04-07 19:30:17 +02:00
styles QStyle: Fix cases when logicalValue is outside range 2022-03-10 12:39:11 +01:00
util Position QCompleter popup based on the widget's screen geometry 2022-02-15 01:28:30 +00:00
widgets Fix QDockWidget parenting and dock permissions 2022-04-19 17:12:20 +00:00
CMakeLists.txt