diff options
author | Jason Barron <jason.barron@nokia.com> | 2010-12-29 17:15:03 (GMT) |
---|---|---|
committer | Jani Hautakangas <jani.hautakangas@nokia.com> | 2010-12-29 17:15:03 (GMT) |
commit | ef96a142f790152524248b4dd0f24e3126ef871e (patch) | |
tree | 9245f3d7551588e80cc35966dafc135cf7cd5627 /doc/src/snippets/code/src_gui_kernel_qevent.cpp | |
parent | 08f963176b24c4c20a96717ddb2241ba1410b0a1 (diff) | |
download | Qt-ef96a142f790152524248b4dd0f24e3126ef871e.zip Qt-ef96a142f790152524248b4dd0f24e3126ef871e.tar.gz Qt-ef96a142f790152524248b4dd0f24e3126ef871e.tar.bz2 |
Clear WSERV content when a native child receives an "expose"
Native child windows on Symbian can cause composition artifacts on S^3
because they own a visible RWindow instance, but the RWindow
technically has no content because child windows paint their content to
their parent's backing store. In the event that a native child widget
completely obscures a top level, the composition engine does not
understand that the child is "empty" and should clear the UI surface
to let the top level "shine through". The result is that articacts can
remain on the UI surface after a transition from a WSERV drawing app to
a Qt (EGL rendering) app.
To fix this issue, we call CWindowGc::Clear() when the native child
widget receives an "expose" event. This clears the UI surface content
and ensures the top level is visible even though it is technically
below another RWindow.
Task-number: QTMOBILITY-484
Reviewed-by: Jani Hautakangas
Diffstat (limited to 'doc/src/snippets/code/src_gui_kernel_qevent.cpp')
0 files changed, 0 insertions, 0 deletions