Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.6.0
-
Qt for Device Creation 5.6, NXP board with touchscreen
-
d236c5a8a34803bda6115956184398b99dbba408
Description
To reproduce please run the code bellow:
import QtQuick 2.5 import QtQuick.Controls 1.4 import QtWebEngine 1.2 import QtQuick.Window 2.2 ApplicationWindow { id: root objectName: "root" width: Screen.width height: Screen.height maximumHeight: height minimumHeight: height maximumWidth: width minimumWidth: width visible: true visibility: "FullScreen" WebEngineView { id: webview url: "http://www.google.fi" anchors.fill: parent zoomFactor:5; onZoomFactorChanged:{ console.log("zoom") zoomFactor=1.0; } } }
Result: the site is not zoomed and by pinching it on the touchscreen it is zooming
Expected result: its zoomed 5x and when pinching starts it zooms to 1.
Attachments
Issue Links
- relates to
-
QTBUG-51851 Setting the zoom factor before the page is loaded will not have any effect
- Closed