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

qml binding with global variable in Repeater do not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.12.0
    • None
    • tested on archlinux latest Qt version.

    Description

      There is a regression on the way of handling bindings with items in a Repeater which are bind to a variable in an ancestor of the Repeater (it is working fine in Qt5.9.6, I don't know for the 5.10 and 5.11).

      In the following example, there should be 5 lemons displayed.

      But the width isn't updated when the variable it is binded is.

      If I create an alias of the variable I use to do the binding on the Repeater (commented lines) it works fine.

       

      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
              petitlapin Johnny Jazeix
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes