Public bug reported:

While playing with U.C 1.3, I noticed the following bug with page
headers.

Assume you have a pagestack with 2 pages, rootPage and secondPage. The
rootPage header is locked and not visible. When you push secondPage and
then pop it, you will briefly notice the rootPage header being shown
which then slides out of view. This is rather every time the hide
animation is shown.

Affects ubuntu-clock-app which hides & locks the page header.

Here is a sample app to reproduce the bug:

import QtQuick 2.4
import Ubuntu.Components 1.3

MainView {
    applicationName: "testheader.nik90"
    width: units.gu(100)
    height: units.gu(75)

    PageStack {
        id: mainStack

        Component.onCompleted: push(rootPage)

        Page {
            id: rootPage

            head {
                visible: false
                locked: true
            }

            Column {
                anchors { left: parent.left; right: parent.right; top: 
parent.top; margins: units.gu(2) }
                spacing: units.gu(2)

                Label {
                    width: parent.width
                    wrapMode: Text.WordWrap
                    text: "Steps to reproduce bug:

1. Press \"Click Me\" button to push second page.

2. Press \"Back\" header button to go back to the root page

3. Notice how the root page header is shown briefly and then slides out of 
sight"
                }

                Button {
                    text: "Click Me"
                    color: UbuntuColors.green
                    anchors.horizontalCenter: parent.horizontalCenter
                    onClicked: mainStack.push(secondPage)
                }
            }
        }

        Page {
            id: secondPage
            title: "Second Page"
            visible: false
        }
    }
}

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

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

Title:
  Locked & Hidden Page header is shown briefly when returning to the
  page

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

Bug description:
  While playing with U.C 1.3, I noticed the following bug with page
  headers.

  Assume you have a pagestack with 2 pages, rootPage and secondPage. The
  rootPage header is locked and not visible. When you push secondPage
  and then pop it, you will briefly notice the rootPage header being
  shown which then slides out of view. This is rather every time the
  hide animation is shown.

  Affects ubuntu-clock-app which hides & locks the page header.

  Here is a sample app to reproduce the bug:

  import QtQuick 2.4
  import Ubuntu.Components 1.3

  MainView {
      applicationName: "testheader.nik90"
      width: units.gu(100)
      height: units.gu(75)

      PageStack {
          id: mainStack

          Component.onCompleted: push(rootPage)

          Page {
              id: rootPage

              head {
                  visible: false
                  locked: true
              }

              Column {
                  anchors { left: parent.left; right: parent.right; top: 
parent.top; margins: units.gu(2) }
                  spacing: units.gu(2)

                  Label {
                      width: parent.width
                      wrapMode: Text.WordWrap
                      text: "Steps to reproduce bug:

  1. Press \"Click Me\" button to push second page.

  2. Press \"Back\" header button to go back to the root page

  3. Notice how the root page header is shown briefly and then slides out of 
sight"
                  }

                  Button {
                      text: "Click Me"
                      color: UbuntuColors.green
                      anchors.horizontalCenter: parent.horizontalCenter
                      onClicked: mainStack.push(secondPage)
                  }
              }
          }

          Page {
              id: secondPage
              title: "Second Page"
              visible: false
          }
      }
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1484736/+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