maui icon indicating copy to clipboard operation
maui copied to clipboard

The SVG picture of the navigation menu ICON does not display correctly on Windows

Open HuaFangYun opened this issue 4 months ago • 3 comments

Description

Android image Windows  image 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

HuaFangYun avatar Apr 03 '24 14:04 HuaFangYun

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:

MauiApp1.zip

XamlTest avatar Apr 12 '24 07:04 XamlTest

Right. The Svg menu picture cannot be displayed properly on Win11.

HuaFangYun avatar Apr 12 '24 07:04 HuaFangYun

 <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.

HuaFangYun avatar Apr 12 '24 07:04 HuaFangYun