Skip to content

[Windows]Clip property is not working properly in preview 12 #4250

@jeya-kasipandi

Description

@jeya-kasipandi

Description

When applying a clip with RoundRectangleGeometry to the content view, exception occur as like below in windows

image

After calling CanvasDrawingSession.CreateLayer, you must close the resulting CanvasActiveLayer before ending the CanvasDrawingSession.

Steps to Reproduce

1.Run the attached sample in windows platform
ClipSample.zip
2.Click Apply effects button to change the round rectangle
3.Application get crash.

Version with bug

Preview 12 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android, Windows

Affected platform versions

iOS 15,Android 11,Windows

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-drawingShapes, Borders, Shadows, Graphics, BoxView, custom drawingfixed-in-6.0.300-rc.1Look for this fix in 6.0.300-rc.1!platform/windowss/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions