← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1565811] [NEW] PageHeader should not have a back action if it's the first page on the stack

 

Public bug reported:

In this example, the header will have a back action. Pressing it, leaves
us with an empty page stack. This is unexpected.

PageStack {
    Component.onCompleted: push(p1)
    Page {
        id: p1
        header: PageHeader {
            title: i18n.tr("untitled21")
        }
    }
}

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

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Tim Peeters (tpeeters)

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided => High

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

Title:
  PageHeader should not have a back action if it's the first page on the
  stack

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

Bug description:
  In this example, the header will have a back action. Pressing it,
  leaves us with an empty page stack. This is unexpected.

  PageStack {
      Component.onCompleted: push(p1)
      Page {
          id: p1
          header: PageHeader {
              title: i18n.tr("untitled21")
          }
      }
  }

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


Follow ups