Details
-
Task
-
Resolution: Done
-
P1: Critical
-
None
-
e3c9fdfffb2f62da90938e8e5e76f1d15f30385d
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
- depends on
-
QTBUG-91689 Handle QQmlPropertyData::DontRemoveBinding flag with new-style bindings
- Closed
- resulted in
-
QTBUG-98896 Double behaviors on same property crash
- Closed