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

QML ListView Should Support Dynamic Headers and Footers

    XMLWordPrintable

Details

    • 13d59acef59952e07d98c2947c25da33418c2465

    Description

      ListView does not handle dynamic headers/footers very well. Currently, if the header changes height because of content change, the scroll-position will jump. In some cases, it has been observed that the new header renders over top of the old header (clearly an error, as there can be only one header). I presume this is because ListView is not detcting that the header has changed, and the changed height is not accounted for in scroll position; hence the jump.

      We want to be able to use ListView because of its memory efficiency. However, the views being implemented require heterogeneous content at the start and end of the list. This content will be state-full and changes as the user interacts with the view. Unfortunately, ListView is proving very inflexible in its support of dynamic header/footer content.

      At the very least, ListView should provide a signal so that it can be notified of header/footer content change so that it can update properly.

      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)
            hacho Hayward Cho
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes