[Touch-packages] [Bug 1484736] Re: Locked & Hidden Page header is shown briefly when returning to the page

2016-03-19 Thread Tim Peeters
This is fixed when using the new PageHeader. See
https://developer.ubuntu.com/en/blog/2016/02/24/pageheader-tutorial/

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Status: Confirmed => Fix Released

-- 
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:
  Fix Released

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


[Touch-packages] [Bug 1484736] Re: Locked Hidden Page header is shown briefly when returning to the page

2015-08-14 Thread Tim Peeters
** Changed in: ubuntu-ui-toolkit (Ubuntu)
 Assignee: (unassigned) = Tim Peeters (tpeeters)

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

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Status: New = Confirmed

-- 
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:
  Confirmed

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