Confirmed with this program:

import QtQuick 2.4
import Ubuntu.Components 1.3

MainView {
    width: units.gu(50)
    height: units.gu(60)

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

I could not reproduce the issue with the AdaptivePageLayout.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  In Progress

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to