Any qml app using a QtWebkit WebView and a MainView fail to load on the device

Bug #1421669 reported by Alexandre Abreu
6
This bug affects 1 person
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 {
    applicationName: "webkit.abreu-alexandre"

    // Removes the old toolbar and enables new features of the new header.
    useDeprecatedToolbar: false

    width: units.gu(100)
    height: units.gu(75)

    Page {
        title: i18n.tr("Simple")

        Column {
            spacing: units.gu(1)
            anchors {
                margins: units.gu(2)
                fill: parent
            }
            WebView {

            }
        }
    }
}

- launch the app on the device

description: updated
description: updated
David Planella (dpm)
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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.