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

Setting a new contextObject on a QQmlContext does not update bindings

XMLWordPrintable

    • 672c533bde2899baad3eb29b6a807870abb8bf25

      The documentation states, "Setting the context object or adding new context properties after an object has been created in that context is an expensive operation (essentially forcing all bindings to reevaluate)," which implies that switching to a new contextObject should update any bindings on the context. This is not the case. Only objects created in the context after the contextObject has been set will reflect the properties of the new contextObject.

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

            apmontgo Alex Montgomery
            apmontgo Alex Montgomery
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes