Maui icon indicating copy to clipboard operation
Maui copied to clipboard

[BUG] AvatarView clipping on Windows isn't applied correctly to UriImageSource

Open GeorgeLeithead opened this issue 3 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

When applying a StrokeShape, such as PolyLine to AvatarView, clipping on Windows where the ImageSource is a UriImageSource clipping is not applied correctly. image

Expected Behavior

On Windwos the image should be clipped to the AvatarView stroke shape.

Steps To Reproduce

  1. Add an AvatarView control.
  2. Set as the ImageSource a Uri.

Link to public reproduction project repository

https://github.com/GeorgeLeithead/CommunityToolkitMaui/tree/510-Bug

Environment

- .NET MAUI CommunityToolkit: 1.2.0
- OS: windows10.0.19041.0
- .NET MAUI: 6.0.408

Anything else?

No response

GeorgeLeithead avatar Sep 16 '22 07:09 GeorgeLeithead