← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1223050] Re: [PageStack] Calling positionViewAtIndex cause the page header misbehave

 

With the new PageHeader, you can anchor another item that takes the
place of the section header at the bottom of the header. See attached
newfruits.zip for a modification of the example code above that solves
the problem.

Another solution would be to adapt the ListView for the section header
to take the ListView.topMargin into account. But that would need to be
reported as a separate Qt bug.

** Attachment added: "newfruits.zip"
   https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1223050/+attachment/4594331/+files/newfruits.zip

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

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

Title:
  [PageStack] Calling positionViewAtIndex cause the page header
  misbehave

Status in Ubuntu Music App:
  Triaged
Status in address-book-app package in Ubuntu:
  Confirmed
Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Released

Bug description:
  Using a ListView inside of a PageStack causes the ListView header
  misbehave after calling positionViewAtIndex:

  How to reproduce (using the example attached):

  1- run: qmlscene main.qml
  2- click in the button "click me"
  3- scroll the list 
  4- click in the button "click me" again

  Expected behavior:
  The section header should be fully visible at the top

  Current behavior:
  The page header  overlaps the listview and the section header

To manage notifications about this bug go to:
https://bugs.launchpad.net/music-app/+bug/1223050/+subscriptions