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

ComponentBehavior: Bound breaks ListView layout on model reset

    XMLWordPrintable

Details

    • 20f608651 (dev), 61333a892 (6.6), 0b942a8d8 (6.5)

    Description

      Using pragma ComponentBehavior: Bound for some reason breaks the model reset/ListView layout. After a reset, the ListView does not show any items and does not request any model data apart from count.

      This does not happen:

      • when removing the pragma
      • when the section property is not used

      I could not reproduce the problem using ListModel oder basic JavaScript array models, only with a QAbstractItemModel.

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            njeisecke Nils Jeisecke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes