Closed as not planned
Closed as not planned
Description
Description
While debugging my MAUI 9.xx app using the latest Syncfusion library (VS2022 v17.13.6), I see this message in the OUTPUT window:
Microsoft.Maui.Controls.Element: Warning: The RealParent on Syncfusion.Maui.Core.BadgeSettings has been Garbage Collected. This should never happen. Please log a bug: https://github.com/dotnet/maui
The versions I have here, are:
- Syncfusion: 29.1.38
- Syncfusion Maui Toolkit: 1.0.4
- Microsoft.Maui.Controls: 9.0.60
Steps to Reproduce
- Add a Syncfusion Badge into your XAML, like this:
<Grid Grid.Column="2">
<badgeView:SfBadgeView IsVisible="{Binding IsTimingEnabled}" HorizontalOptions="Center" VerticalOptions="Center" BadgeText="{Binding RemainingTimeDisplay}">
<badgeView:SfBadgeView.Content>
<Button Text="🔒" FontSize="24" WidthRequest="100" HeightRequest="60" CornerRadius="15"/>
</badgeView:SfBadgeView.Content>
<badgeView:SfBadgeView.BadgeSettings>
<badgeView:BadgeSettings Type="Error" Animation="Scale" Offset="-20,0" Position="TopRight" AnimationDuration="100" />
</badgeView:SfBadgeView.BadgeSettings>
</badgeView:SfBadgeView>
</Grid>
- Execute your app in DEBUG mode and after 5-10 seconds the message appears in OUTPUT window.
Link to public reproduction project repository
No response
Version with bug
9.0.60 SR6
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
9.0.40 SR4
Affected platforms
Windows
Affected platform versions
Windows 11 SDK 10.0.19041.0
Did you find any workaround?
No.