[PageStack] PageStack hide ListView section header

Bug #1202403 reported by Renato Araujo Oliveira Filho
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Committed
Critical
Tim Peeters
address-book-app
Confirmed
Medium
Unassigned
address-book-app (Ubuntu)
Confirmed
Undecided
Unassigned
Trusty
New
Undecided
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Fix Released
Undecided
Unassigned

Bug Description

Using a ListView inside of a PageStack causes the ListView header disappear:

How to reproduce (using the example attached):

1- run: qmlscene main.qml
2- scroll the list forward
3- scroll the list backward

Expected behavior:
The section header should be visible on the page top (below the page title)

Current behavior:
The section header disappear

Related branches

Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :
Changed in ubuntu-ui-toolkit:
importance: Undecided → High
assignee: nobody → Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit:
importance: High → Critical
Revision history for this message
Tim Peeters (tpeeters) wrote :

section header does not disappear for me, but it appears some times on top of the mainview header, and some times under it.

Changed in ubuntu-ui-toolkit:
status: New → Confirmed
Revision history for this message
Adnane Belmadiaf (daker) wrote :

I am also having the same bug on my app, here is a video[0] and the code to reproduce it[1]

[0] https://plus.google.com/u/0/photos?pid=5912883833171629858&oid=101694416703170881163
[1] http://paste.ubuntu.com/5994664/

Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

A easy way to reproduce the problem is scrolling until the end of the items, then try to scroll back. You would not be able to see the section header on the top.

OBS: the correct behavior can be tested if you change some piece of the code like that:

5,6c5,6
< Item {
< //title: "pageTitle"
---
> Page {
> title: "pageTitle"

Bill Filler (bfiller)
Changed in address-book-app:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Tim Peeters (tpeeters) wrote :

I will be on holidays until October 6. Feel free to work on this, or to re-assign.

Changed in ubuntu-ui-toolkit:
assignee: Tim Peeters (tpeeters) → nobody
assignee: nobody → Florian Boucault (fboucault)
Bill Filler (bfiller)
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Confirmed
Changed in address-book-app (Ubuntu):
status: New → Confirmed
Changed in ubuntu-ui-toolkit:
assignee: Florian Boucault (fboucault) → Tim Peeters (tpeeters)
Revision history for this message
Tim Peeters (tpeeters) wrote :
Revision history for this message
Tim Peeters (tpeeters) wrote :

It is a different bug than the one mentioned in my previous comment. I will address them separately.

Revision history for this message
Tim Peeters (tpeeters) wrote :

There are a few related issues here, so I will fix this in the same MR as I fix the bug that I linked above.

Changed in ubuntu-ui-toolkit:
status: Confirmed → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:ubuntu-ui-toolkit at revision 844, scheduled for release in ubuntu-ui-toolkit, milestone Unknown

Changed in ubuntu-ui-toolkit:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-ui-toolkit - 0.1.46+14.04.20131126-0ubuntu1

---------------
ubuntu-ui-toolkit (0.1.46+14.04.20131126-0ubuntu1) trusty; urgency=low

  [ Loïc Molinari ]
  * [UbuntuShape] Informed renderer of index and vertex data patterns.
  * [UbuntuShape] Transformed coordinates of textures packed in atlases.
    (LP: #1252736)

  [ Jani Monoses ]
  * Avoid reference errors in OrientationHelper. (LP: #1244631)

  [ Albert Astals ]
  * Do not include the QtQml catch-all include header Include the
    headers we need instead .
  * Compile properly with make -j10 Otherwise tries to compile the tests
    before the components.so is there and fails.

  [ Christian Dywan ]
  * Only inspect left hand for keywords and omit identifier. (LP:
    #1250653)
  * Merge pot update scripts and tweak 'make pot'. (LP: #1186250)
  * Add dependencies and indexes to link Qt5 and Ubuntu.Unity.Action
    docs. (LP: #1202561)
  * Implement BUILTINS in qmlapicheck to exclude built-in types.
  * Move ubuntu-ui-toolkit-doc dep from -examples to Recommends This way
    it's possible to run autopilot tests without docs.

  [ Zsombor Egri ]
  * Tabs are controlled independently by TabBar from Tabs component.
    (LP: #1246758)

  [ Florian Boucault ]
  * Conditionally disable v8-private dependency if Qt's version >= 5.2.
  * TextArea: added missing MathUtils import. (LP: #1248731)
  * Homogenized the icon related APIs. Everywhere where an icon can be
    set 2 properties are defined: url iconSource: url of any image file
    that can be used as the icon. string iconName: name of the icon in
    the theme. Redundant APIs are now deprecated. Action, ActionItem,
    OptionSelectorDelegate, ListItems.Base and ListItems.Standard have
    been modified. (LP: #1191054)

  [ Leo Arias ]
  * Add the .py files to the qtcreator project. (LP: #1244615)
  * Added logging for all the public methods on the autopilot emulators.

  [ Robert Bruce Park ]
  * Fix indicator tabs ordering.

  [ Michael Zanetti ]
  * fix typo in ListItems.Empty doc string.

  [ tpeeters ]
  * Align ListView header with MainView header. (LP: #1202403, #1202277)
  * Support initial value of selectionMode that is not equal to false.
    (LP: #1250194)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 859
 -- Ubuntu daily release <email address hidden> Tue, 26 Nov 2013 01:11:34 +0000

Changed in ubuntu-ui-toolkit (Ubuntu Trusty):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.