← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1570886] [NEW] Tabs mix up initial page/title

 

Public bug reported:

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"
                }
            }
        }
    }
}

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- Tabs mix ub initial page/title
+ Tabs mix up initial page/title

-- 
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 ubuntu-ui-toolkit package in Ubuntu:
  New

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/ubuntu/+source/ubuntu-ui-toolkit/+bug/1570886/+subscriptions


Follow ups