Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7.3, 6.8.0
-
None
Description
Rendering is broken (nothing is painted) after reparenting WebEngineView to another window. A number of Qt warnings are also printed in the debug output, e.g:
Compositor returned null texture
Code sample:
import QtQuick import QtQuick.Controls import QtWebEngine Window { id: mainWindow width: 300 height: 300 title: 'Main ' visible: true WebEngineView { id: webView anchors.fill: parent url: 'https://www.qt.io/blog' } Window { id: childWindow width: mainWindow.width height: mainWindow.height x: mainWindow.x + mainWindow.width y: mainWindow.y title: 'Child' visible: true } Button { z: 1000 text: (webView.parent === mainWindow.contentItem) ? 'To Child' : 'To Main' onClicked: { if (webView.parent === mainWindow.contentItem) webView.parent = childWindow.contentItem else webView.parent = mainWindow.contentItem } } }
Steps to reproduce:
1. Click "To Child/To Main" button several times
2. Observe the window content
Attachments
Issue Links
- relates to
-
QTBUG-129153 Sporadic crash on NativeSkiaOutputDevice::BeginPaint()
- Reported