Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.4.0 Beta3
-
None
-
-
e995556338 (qt/qtwebengine/dev) b5de3ad2ab (qt/qtwebengine/6.4) b5de3ad2ab (qt/tqtc-qtwebengine/6.4) e995556338 (qt/tqtc-qtwebengine/dev) b5de3ad2ab (qt/tqtc-qtwebengine/6.4.1)
Description
This example shows a regression in 6.4. The initial url (Qt WebSite) displays correctly, window resizing works. On changing the url (click the button), the display area of the WebEngineView is no longer resized (the item itself is resized). Looks like this is a regression because in 6.3.1 this works.
A complete example project is attached (selection of QSGRendererInterface::MetalRhi in main.cpp does not make any difference regarding the resize problem).
import QtQuick import QtQuick.Layouts import QtQuick.Controls import QtWebEngine Window { width: 640 height: 480 visible: true title: qsTr("Hello World") ColumnLayout { anchors.fill: parent RowLayout { Text { text: "Initial URL should resize correctly" } Button { text: "Goto other URL (resize stops working)" onClicked: web.url = "https://www.google.de" } } WebEngineView { id: web Layout.fillHeight: true Layout.fillWidth: true url: "https://www.qt.io" } } }
Attachments
For Gerrit Dashboard: QTBUG-105953 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
429626,2 | Fix logic in bindViewAndDelegateItem | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
437559,2 | Fix logic in bindViewAndDelegateItem | 6.4 | qt/qtwebengine | Status: MERGED | +2 | 0 |