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

QML ListView: Problem if I set predefined model and populate transition together

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.9.4
    • None
    • Mac OSX 10.13.4 - Qt 5.9.4 - QtCreator 4.5.2 - CLang64 - Xcode 9.1
    • macOS

    Description

      How to reproduce:

      1. Create a ListView and anchor it as fill it's parent
      2. Create a sample ListModel
      3. Assign aTransition to the populate property of the ListView
      4. Run!

      What will happens?
      See attached image. You can run my attachedĀ file.

      Work around:

      • Option 1: Set size of the ListView explicitly instead of anchoring
      • Option 2: Left model of the ListView as un-assigned and set it on Component.onCompleted as demonstrated in my code.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              seyed_m S.M.Mousavi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes