qt6-bb10/src
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
..
3rdparty Update Harfbuzz to version 2.9.0 2021-08-23 07:37:04 +02:00
android Fix access to content: URLs with transient read/write permissions 2021-08-23 15:36:03 +02:00
concurrent QtConcurrent: fix examples of overloaded methods in docs 2021-08-18 22:31:17 +02:00
corelib Unicode: fix the grapheme clustering algorithm 2021-08-24 12:58:20 +02:00
dbus QDBus: fix ExportScriptableInvokables to allow calling scriptable invokables 2021-08-23 23:07:30 +02:00
entrypoint Adjust the EntryPoint target name according to the internal module naming policy 2021-06-15 12:51:49 +02:00
gui Painting: handle large and negative dash offset values 2021-08-24 08:49:48 +02:00
network wasm: fix unused variable warning/error 2021-08-19 18:41:53 +02:00
opengl CMake: Make WrapVulkanHeaders target optional for QtGui consumers 2021-07-29 16:38:50 +02:00
openglwidgets Migrate to autogenerated cpp exports 2021-06-25 19:33:12 +02:00
platformsupport Fix button type to update coordinates when dragging 2021-08-11 12:38:35 +00:00
plugins macOS: Highlight selected part of preedit using platform theme palette 2021-08-23 17:30:18 +02:00
printsupport Fix printing with unhinted fonts 2021-08-16 20:20:26 +02:00
sql Doc: Ensure deprecated APIs in Qt Sql are documented as such 2021-07-22 07:08:56 +02:00
testlib Add note on selecting the device which is used to run tests on Android 2021-08-18 19:53:38 +00:00
tools qdbusxml2cpp: don't generate an include for all of QtDBus+QtCore 2021-08-23 23:07:30 +02:00
widgets QGraphicsProxyWidget: forward Window(De)Activate events 2021-08-24 13:32:07 +02:00
xml Migrate to autogenerated cpp exports 2021-06-25 19:33:12 +02:00
CMakeLists.txt Make it possible to disable the PrintSupport module 2021-02-09 09:17:21 +01:00