Any qml app using a QtWebkit WebView and a MainView fail to load on the device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QtWebKit |
New
|
Undecided
|
Unassigned | ||
Ubuntu UI Toolkit |
New
|
Undecided
|
Unassigned | ||
qtwebkit-source (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
On the UbuntuPhone device (Vivid or RTM based), any app as simple as:
MainView {
Page { WebView { } }
}
fails to load, the app load spinner does on forever.
To reproduce it:
- open QtC,
- create a blank simple qml project,
- mofidy the project main qml file to add a WebView in the Mainview's page, e.g
import QtQuick 2.0
import Ubuntu.Components 1.1
import QtWebKit 3.0
MainView {
application
// Removes the old toolbar and enables new features of the new header.
useDeprecat
width: units.gu(100)
height: units.gu(75)
Page {
title: i18n.tr("Simple")
Column {
anchors {
}
WebView {
}
}
}
}
- launch the app on the device
description: | updated |
description: | updated |
summary: |
- Qny qml app using a QtWebkit WebView and a MainView fail to load on the + Any qml app using a QtWebkit WebView and a MainView fail to load on the device |