Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0 RC 2
-
None
-
OS: Windows 7 Enterprise, 64-bit (SP1)
Compiler: Microsoft Windows SDK v7.1
GPU: Nvidia NVS 4200M, Driver 306.97, DirectX 11.0
Description
If a ShaderEffectSource is applied on a container including a WebView that doesn't fill the container the WebView will not be completely rendered. Scrolling the WebView causes different parts of the WebView to be clipped and parts of the WebView will be rendered outside its designated area. The included example demonstrates the bug, removing the ShaderEffectSource causes the example to behave as expected.
import QtQuick 2.0 import QtWebKit 3.0 Rectangle { width: 600 height: 600 color: "black" Column { id: container anchors.fill: parent Rectangle { width: parent.width height: parent.height * (1/3) color: "gray" } WebView { width: parent.width height: parent.height * (2/3) url: "http://qt-project.org/" } } ShaderEffectSource { anchors.fill: container sourceItem: container hideSource: true live: true } }