[Bug 1421669] [NEW] Qny qml app using a QtWebkit WebView and a MainView fail to load on the device

Alexandre Abreu alexandre.abreu at canonical.com
Fri Feb 13 15:09:43 UTC 2015


Public bug reported:

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

** Affects: qtwebkit
     Importance: Undecided
         Status: New

** Affects: ubuntu-ui-toolkit
     Importance: Undecided
         Status: New

** Affects: qtwebkit-source (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: qtwebkit
   Importance: Undecided
       Status: New

** Also affects: ubuntu-ui-toolkit
   Importance: Undecided
       Status: New

** Description changed:

  On the UbuntuPhone device (Vivid or RTM based), any app as simple as:
  
  MainView {
-     Page { WebView { } }
+     Page { WebView { } }
  }
  
- fails to load, the app load spinner does on forever,
+ 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,
+ - launch the app on the device

** Description changed:

  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,
+ - 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

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qtwebkit-source in Ubuntu.
https://bugs.launchpad.net/bugs/1421669

Title:
  Qny qml app using a QtWebkit WebView and a MainView fail to load on
  the device

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtwebkit/+bug/1421669/+subscriptions




More information about the kubuntu-bugs mailing list