Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jeya-kasipandi opened this issue Jan 21, 2022 · 5 comments · Fixed by #5224
Closed

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

jeya-kasipandi opened this issue Jan 21, 2022 · 5 comments · Fixed by #5224
Labels
area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing fixed-in-6.0.300-rc.1 Look for this fix in 6.0.300-rc.1! platform/windows 🪟 s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@jeya-kasipandi
Copy link

jeya-kasipandi commented Jan 21, 2022

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

@jeya-kasipandi jeya-kasipandi added the t/bug Something isn't working label Jan 21, 2022
@jeya-kasipandi
Copy link
Author

Can anyone please check and provide the solution?

@jsuarezruiz jsuarezruiz added area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing platform/windows 🪟 fatal labels Jan 21, 2022
@jeya-kasipandi
Copy link
Author

Any update on this?

@jeya-kasipandi jeya-kasipandi changed the title Clip property is not working properly in preview 12 [Windows]Clip property is not working properly in preview 12 Jan 24, 2022
@shimingsg
Copy link

Not reproducible with Windows.

@shimingsg shimingsg added the s/verified Verified / Reproducible Issue ready for Engineering Triage label Feb 18, 2022
@jeya-kasipandi
Copy link
Author

@shimingsg The reported issue still reproduce in windows. Can you click the apply effects button to change into a round rectangle? Now the reported issue will reproduce in windows. The application gets crash when clicking the apply effects button.

@Redth
Copy link
Member

Redth commented Feb 18, 2022

Can confirm, this repro's for me on windows.

@ghost ghost locked as resolved and limited conversation to collaborators Apr 15, 2022
@samhouts samhouts added the fixed-in-6.0.300-rc.1 Look for this fix in 6.0.300-rc.1! label Feb 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing fixed-in-6.0.300-rc.1 Look for this fix in 6.0.300-rc.1! platform/windows 🪟 s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants