-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.9.2, 6.10.0 Beta4, 6.11.0 FF
-
None
-
8f74b6c80 (6.10.0), 42f790220 (6.9), 4fedb6fcf (6.10), 7a272c290 (dev), 7f7848671 (6.10), 102fc06cc (6.9)
tst_QGraphicsProxyWidget::createProxyForChildWidget fails if non-zero safe margins are reported.
FAIL! : tst_QGraphicsProxyWidget::createProxyForChildWidget() Compared values are not the same Actual (checkboxProxy->size().toSize()): QSize(96x24) Expected (checkbox->size()) : QSize(96x9) Loc: [/Users/assam/Workspace/qtproject/qt/qtbase/tests/auto/widgets/graphicsview/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp(2880)]
This seems to happen because the widget used by the proxy is top level widget which has the margins used by default but it doesn't consider that it's used inside a proxy widget.