Assigning a Brush of type RadialGradientBrush to the Background property of an ImageButton causes the BG to show a solid color #23119
Labels
area-drawing
Shapes, Borders, Shadows, Graphics, BoxView, custom drawing
platform/android 🤖
potential-regression
This issue described a possible regression on a currently supported version., verification pending
t/bug
Something isn't working
Milestone
Description
When set to a value of type
RadialGradientBrush
theBackground
is shown as a solid color background with the color of the lastGradientStop
(Offset="1").Changing the
Background
property's value to something else during debugging and then changing it back again causes it to show correctly (NOT a workaround).Might have been caused by this fix: #22717
LinearGradientBrush
s work just fine.Steps to Reproduce
Create a MAUI app and a
LinearGradientBrush
as a resourcesPlace an
ImageButton
in the UI and pass the createdLinearGradientBrush
as aBackground
Observe the bug.
Link to public reproduction project repository
No response
Version with bug
8.0.60 SR6
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.0-rc.1.9171
Affected platforms
Android, I was not able test on other platforms
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: