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

GridView.onAdd/onRemove not called when using QAbstractListModel as GridView model

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • 4.7.1
    • 4.6.2
    • None
    • Linux, 4.6.0+declarative 4.6.0
      Maemo libqt4-maemo5-declarative 4.6.2
    • 759888f

    Description

      TheGridView::onAdd/onRemove signal handlers don't seem to be called (at least) when using a QAbstractListModel as the data model for the grid.

      Items appear correctly when added dynamically to the grid, but the handlers are not called.

      Testing onAdd/onRemove with a pure QML app & the ListModel object being added to from a script shows them being called correctly in that case.
      Unfortunately I don't have a a simple test program to reproduce.

      Reproduced with the 4.6.0 release of QML and also qmlviewer released with qt4-maemo5 4.6.2 (from Maemo extras-devel repo).

      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)
            anbaldwi Andrew Baldwin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes