-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Border updates stroke too frequently #24123
Copy link
Copy link
Closed
Labels
area-controls-borderBorderBorderarea-drawingShapes, Borders, Shadows, Graphics, BoxView, custom drawingShapes, Borders, Shadows, Graphics, BoxView, custom drawingfixed-in-8.0.90fixed-in-9.0.0-rc.1.24453.9platform/androidplatform/iosplatform/macosmacOS / Mac CatalystmacOS / Mac Catalystplatform/windowspotential-regressionThis issue described a possible regression on a currently supported version., verification pendingThis issue described a possible regression on a currently supported version., verification pendingt/bugSomething isn't workingSomething isn't working
Milestone
Metadata
Metadata
Assignees
Labels
area-controls-borderBorderBorderarea-drawingShapes, Borders, Shadows, Graphics, BoxView, custom drawingShapes, Borders, Shadows, Graphics, BoxView, custom drawingfixed-in-8.0.90fixed-in-9.0.0-rc.1.24453.9platform/androidplatform/iosplatform/macosmacOS / Mac CatalystmacOS / Mac Catalystplatform/windowspotential-regressionThis issue described a possible regression on a currently supported version., verification pendingThis issue described a possible regression on a currently supported version., verification pendingt/bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Done
Description
The border control will rebuild the stroke shape when any property changes on the
StrokeShapeobject, including:This causes a significant performance impact when items are added to a list.
This is caused by the following in
Controls\src\Core\Border\Border.cs:These property changes should not trigger a rebuild of the stroke shape since the
Border.OnPropertyChangedevent only wants to be notified of the following:Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
8.0.80 SR8
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android, Windows, macOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response