raring has seen the end of its life and is no longer receiving any
updates. Marking the raring task for this ticket as "Won't Fix".

** Changed in: ubuntu-ui-toolkit (Ubuntu Raring)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1124065

Title:
  [tabs] WebView as a Tab child does not work reliably and sometimes
  crashes

Status in Ubuntu UI Toolkit:
  Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Released
Status in ubuntu-ui-toolkit source package in Raring:
  Won't Fix

Bug description:
  I tried to use WebView in Tabs, but it does not work as expected.

  The example below starts nicely with qmlscene. Flicking between tab 1
  and tab 2 is also fine. If I flick to tab 3 and back to tab 1, the
  WebView has empty page. Usally qmlscene crashes after a while.

  
  import QtQuick 2.0
  import QtWebKit 3.0
  import Ubuntu.Components 0.1

  MainView {
      id: mainView
      width: units.gu(45)
      height: units.gu(80)

      Tabs {
          id: tabs
          anchors.fill: parent
          ItemStyle.class: "new-tabs"
          Tab {
              title: "tab 1"
              autoHideTabBar: false
              page: WebView {
                  id: webView
                  anchors.fill: parent
                  url: "http://www.ubuntu.com";
              }
              ProgressBar {
                  anchors.left: parent.left
                  anchors.right: parent.right
                  anchors.bottom: parent.bottom
                  minimumValue: 0
                  maximumValue: 100
                  value: webView.loadProgress
                  visible: value < 100
              }
          }
          Tab {
              title: "tab 2"
              page: Text {
                  text: "This is the second tab."
                  anchors.margins: units.gu(1)
              }
          }
          Tab {
              title: "tab 3"
              page: Text {
                  text: "This is the third tab."
                  anchors.margins: units.gu(1)
              }
          }
          Tab {
              title: "tab 4"
              page: Text {
                  text: "This is the fourth tab."
                  anchors.margins: units.gu(1)
              }
          }
      }
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1124065/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-sdk-bugs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-sdk-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to