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

QQmlPropertyBinding: support interceptors

    XMLWordPrintable

Details

    Description

      QQmlPropertyValueInterceptor currently interacts by intercepting the write metacall (using QQmlInterceptorMetaObject::intercept).
      QQmlPropertyBinding does however bypass the interceptor, as it doesn't do any metacall at all, but directly writes to the property. This obviously breaks interceptors like Behavior.

      Ideally we implement this without having to create and go through some custom QQmlVmeMetaObject; rather, we should give QQmlPropertyBinding a hook which QQmlPropertyValueInterceptor can use (with potentially new API). This is possible as interceptors are private API.

      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
              fabiankosmale Fabian Kosmale
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes