← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1566741] [NEW] Tabs and Page with PageHeader shows two headers

 

Public bug reported:

If I use a Tabs component, and place a Page in one of the Tabs, and that
Page has a new-style PageHeader, then my app shows two separate headers.

    Tabs {
        Tab {
            page:Page {
                header: PageHeader {
                    id: pageHeader
                    title: i18n.tr("MyApp")
                 }
             } 
        }
        Tab {
            title: i18n.tr("Simple page")
            page: Page {
                Label {
                    id: label
                    anchors.centerIn: parent
                    text: "A centered label"
                }
            }
        }
    }

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
     Assignee: Tim Peeters (tpeeters)
         Status: New

** Attachment added: "Screenshot at 16-04-06 10.09.46.png"
   https://bugs.launchpad.net/bugs/1566741/+attachment/4625749/+files/Screenshot%20at%2016-04-06%2010.09.46.png

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

Title:
  Tabs and Page with PageHeader shows two headers

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  If I use a Tabs component, and place a Page in one of the Tabs, and
  that Page has a new-style PageHeader, then my app shows two separate
  headers.

      Tabs {
          Tab {
              page:Page {
                  header: PageHeader {
                      id: pageHeader
                      title: i18n.tr("MyApp")
                   }
               } 
          }
          Tab {
              title: i18n.tr("Simple page")
              page: Page {
                  Label {
                      id: label
                      anchors.centerIn: parent
                      text: "A centered label"
                  }
              }
          }
      }

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


Follow ups