maui
maui copied to clipboard
The SVG picture of the navigation menu ICON does not display correctly on Windows
Description
Android
Windows
Demo
MauiApp1.zip
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
8.0.10 SR3
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
net8.0-windows10.0.19041.0
Did you find any workaround?
No response
Relevant log output
No response
Verified on VS 17.10.0 Preview 3.0(8.0.20). Repro on Windows 11, not repro on Android 14.0-API34 with below Project:
Right. The Svg menu picture cannot be displayed properly on Win11.
<Image
Source="mysql.svg"
HeightRequest="185"
Aspect="AspectFit"
SemanticProperties.Description="dot net bot in a race car number eight" />
The image of svg does not display properly.
<Button
x:Name="CounterBtn" ImageSource="mysql.svg"
Text="Click me"
SemanticProperties.Hint="Counts the number of times you click"
Clicked="OnCounterClicked"
HorizontalOptions="Fill" />
On win11. There seems to be something wrong with the svg display.