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

ComponentBehavior: Bound breaks ListView layout on model reset

XMLWordPrintable

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

      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.

        1. listviewbound-1.tgz
          5 kB
          Nils Jeisecke
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes