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

ListView contentHeight & footer positioning are incorrect when the ListView fills its parent and the ListView's model count is 0

    XMLWordPrintable

Details

    • 68415b0bcc3e531dc16516aa6788aeef8bced6f2

    Description

      Steps to reproduce

      1. Create a ListView that fills its parent
      2. Define header and footer components
      3. Run the QML file in QMLViewer
      4. Scroll the ListView up

      Result:
      The view can be scrolled by the height of the footer, and the footer overlaps the header (until an item is added to the model).

      Expected:
      The view does not scroll (it rubberbands back), and the footer is correctly positioned below the header.

      Attachments

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

        Activity

          People

            martjone Martin Jones (closed Nokia identity) (Inactive)
            eager Christian Eager
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes