Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-48044

ScrollView interfering with ListView async nature

    XMLWordPrintable

Details

    • qtdeclarative:c5b083b2a256823f4f47fcaa3140d4f79d99029f

    Description

      When adding a ListView inside a ScrollView, and when that ListView has transitions define, it can happen that while adding and removing elements from the model, some of the items are not immediately visible whereas they should remain visible.

      Run the attached example. Click on Header 2, scroll to the bottom, click on Header 3. Header 3 is not visible on the display, and only becomes visible when scrolling or resizing the window.

      Removing the transitions hides the issue. Removing the ScrollView as well. It mostly comes from the connections made from flickableItem.contentY to scroller.verticalScrollBar.value in ScrollView. Evidence also points to the inverse binding in ScrollViewHelper.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            dedietri Gabriel de Dietrich (drgvond)
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes