← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1570886] Re: Tabs mix up initial page/title

 

** Changed in: canonical-devices-system-image
       Status: Fix Committed => Fix Released

-- 
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/1570886

Title:
  Tabs mix up initial page/title

Status in Canonical System Image:
  Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Released

Bug description:
  Running the follwoing snippet it will show Page 1 but have Page 2 in
  the title.

  import QtQuick 2.4
  import Ubuntu.Components 1.3

  MainView {
      Tabs {
          Tab {
              title: "Page 1"
              page: Page {
                  title: i18n.tr("Page 1")
                  Label {
                      anchors.centerIn: parent
                      text: "Page 1"
                  }
              }
          }

          Tab {
              title: i18n.tr("Page 2")
              page: Page {
                  title: i18n.tr("Page 2")
                  Label {
                      anchors.centerIn: parent
                      text: "Page 2"
                  }
              }
          }
      }
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1570886/+subscriptions


References