-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change in MultiBinding behaviour in 11.1.0-rc1 compared to 11.0.11 #16084
Comments
Please file a minimum sample to reproduce. |
A minimum repro: https://github.com/mysticpillow/MultiBindingRegressionRepro |
I think #16137 is closely related to this issue. In my example a |
Yep, this looks like the same issue as #16137 in that you're raising a Given that these two issues have the same root cause I'm going to close this issue and track it in #16137. |
Reopening this issue because although it has the same root cause as #16137, the fix for it is more difficult. I don't think a fix for this regression will make it into 11.1.0 as:
|
* Update BindingBase.Instance signature. - Swap `target` and `targetProperty` order to make it consistent with other similar methods - Make `targetProperty` nullable as it will need to be null for `MultiBinding` * IBinding2.Instance needs to accept a null target property. It will need to be null for `MultiBinding`. * Attach needs to accept a null target property. It will need to be null for `MultiBinding`. * Initial implementation of MultiBindingExpression. * Fix failing template binding test. Only publish unset value if we've already published a value. * Enabled nullability annotations. * Added passing test for #16084. * Remove obsolete API usages. * Bind to Tag not Text. Prevents test passing when it shouldn't. See #16219 (comment) * Handle DoNothing in MultiBindingExpression.
It is still not working in version 11.1.3, MultiBinding is not revalidated. |
@spacilv should be available in nightly or 11.2 as per #16084 (comment) |
Thank you, I missed that info. We have to wait for 11.2 then, current version 11.1.3 is unusable for us. |
Describe the bug
Manually calling
ObservableObject.OnPropertyChanged(propertyName)
does not trigger MultiBinding in 11.1.0-rc1 compared to 11.0.11.It still works after scrolling down to hide node from view and up to show again. Also works for child nodes after collapsing/expanding parent node.
To Reproduce
XAML code inside
DataTemplate
ofTreeDataGrid
columnCode-behnid
OnPropertyChanged(nameof(DataUseStateUpdater));
is called insideTreeNode
modelTreeNode
isObservableObject
DataUseStateUpdater
isObservableProperty
Expected behavior
Calling
OnPropertyChanged(propertyName)
manually should triggerMultiBinding
with aBinding
to the property. Then converter should be used.Avalonia version
11.1.0-rc1
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: