qt5base-lts/tests/auto/widgets/graphicsview
Volker Hilsheimer 01aeb5f7e4 QGraphicsProxyWidget: forward Window(De)Activate events
The nested widget might be a QGraphicsView as well (documented to be
supported), and QGraphicsScene maintains it's own activation status by
counting Window(De)Activate events. We need to make sure that the
embedded widget is informed about its activation status so that deeper
nested children can receive focus.

Forward WindowActivate/Deactivate events to the nested widget, which
will pass it on to all its children. Add test case, which without this
fix fails when verifying the inner scene's isActive state, or later
when testing that focusInEvent is delivered to the embedded widget.

Fixes: QTBUG-94091
Pick-to: 5.15 6.1 6.2
Change-Id: I4e0ecef50685ed081d15c7f76b6c1a4a40ed2682
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2021-08-24 13:32:07 +02:00
..
qgraphicsanchorlayout Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicsanchorlayout1 Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicseffectsource Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicsgridlayout Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicsitem Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicsitemanimation Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicslayout Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicslayoutitem Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicslinearlayout Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicsobject Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicspixmapitem Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicspolygonitem Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicsproxywidget Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicsscene tests: Remove unused SRCDIR defines 2021-08-17 12:41:57 +00:00
qgraphicssceneindex Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicstransform Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicsview QGraphicsProxyWidget: forward Window(De)Activate events 2021-08-24 13:32:07 +02:00
qgraphicswidget Remove the qmake project files 2021-01-07 15:32:28 +01:00
CMakeLists.txt Android: exclude tests crashing at start 2020-11-16 13:35:44 +02:00