Skip to content

feat: Support LineGeometry, RectangleGeometry, and EllipseGeometry in Skia - #7321

Merged
jeromelaban merged 5 commits into
unoplatform:masterfrom
Youssef1313:rectangle-geometry-skia
Jan 28, 2022
Merged

jeromelaban merged 5 commits into
unoplatform:masterfrom
Youssef1313:rectangle-geometry-skia

Conversation

@Youssef1313

Copy link
Copy Markdown
Member

Unblocks #7260, where InfoBadgeSupportsAllIconTypes test fails with:

Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException: Assert.Fail failed. Exception thrown by action on the UI thread: System.NotSupportedException: Geometry Windows.UI.Xaml.Media.RectangleGeometry is not supported

PR Type

What kind of change does this PR introduce?

What is the current behavior?

What is the new behavior?

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Internal Issue (If applicable):

@Youssef1313
Youssef1313 requested a review from a team October 13, 2021 17:13
@gitpod-io

gitpod-io Bot commented Oct 13, 2021

Copy link
Copy Markdown

@Youssef1313
Youssef1313 force-pushed the rectangle-geometry-skia branch from 954f451 to a5244c0 Compare October 13, 2021 18:02
@Youssef1313 Youssef1313 mentioned this pull request Oct 13, 2021
4 of 5 tasks
@Youssef1313 Youssef1313 changed the title feat: Support RectangleGeometry in Skia feat: Support LineGeometry, RectangleGeometry, and EllipseGeometry in Skia Oct 13, 2021
Comment thread src/Uno.UI/UI/Xaml/Shapes/Path.skia.cs Resolved
@Youssef1313
Youssef1313 force-pushed the rectangle-geometry-skia branch 3 times, most recently from b5eb2dd to b115444 Compare October 15, 2021 09:59
@Youssef1313
Youssef1313 force-pushed the rectangle-geometry-skia branch from b115444 to 7bc8ab3 Compare October 15, 2021 10:12
@Youssef1313

Copy link
Copy Markdown
Member Author

@jeromelaban Can you review please? Thanks!

@jeromelaban
jeromelaban enabled auto-merge January 27, 2022 15:25
@Youssef1313

Youssef1313 commented Jan 27, 2022 •

Copy link
Copy Markdown
Member Author

@jeromelaban

GLIB UNHANDLED EXCEPTIONSystem.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at Windows.UI.Composition.Compositor.RenderVisual(SKSurface surface, SKImageInfo info, Visual visual) in D:\a\1\s\src\Uno.UI.Composition\Composition\Compositor.skia.cs:line 98
   at Windows.UI.Composition.Compositor.RenderVisual(SKSurface surface, SKImageInfo info, Visual visual) in D:\a\1\s\src\Uno.UI.Composition\Composition\Compositor.skia.cs:line 98
   at Windows.UI.Composition.Compositor.RenderVisual(SKSurface surface, SKImageInfo info, Visual visual) in D:\a\1\s\src\Uno.UI.Composition\Composition\Compositor.skia.cs:line 98
   at Windows.UI.Composition.Compositor.RenderVisual(SKSurface surface, SKImageInfo info, Visual visual) in D:\a\1\s\src\Uno.UI.Composition\Composition\Compositor.skia.cs:line 98
   at Windows.UI.Composition.Compositor.RenderVisual(SKSurface surface, SKImageInfo info, Visual visual) in D:\a\1\s\src\Uno.UI.Composition\Composition\Compositor.skia.cs:line 98
   at Windows.UI.Composition.Compositor.RenderVisual(SKSurface surface, SKImageInfo info, Visual visual) in D:\a\1\s\src\Uno.UI.Composition\Composition\Compositor.skia.cs:line 98
   at Windows.UI.Composition.Compositor.RenderVisual(SKSurface surface, SKImageInfo info, Visual visual) in D:\a\1\s\src\Uno.UI.Composition\Composition\Compositor.skia.cs:line 98
   at Windows.UI.Composition.Compositor.RenderVisual(SKSurface surface, SKImageInfo info, Visual visual) in D:\a\1\s\src\Uno.UI.Composition\Composition\Compositor.skia.cs:line 98
   at Windows.UI.Composition.Compositor.Render(SKSurface surface, SKImageInfo info) in D:\a\1\s\src\Uno.UI.Composition\Composition\Compositor.skia.cs:line 52
   at Uno.UI.Runtime.Skia.UnoDrawingArea.OnDrawn(Context cr) in D:\a\1\s\src\Uno.UI.Runtime.Skia.Gtk\UnoDrawingArea.cs:line 105
   at Gtk.Widget.Drawn_cb(IntPtr inst, IntPtr cr)

Can you restart the failing check? It looks unrelated to the changes in PR

@jeromelaban
jeromelaban merged commit 833a6e1 into unoplatform:master Jan 28, 2022
@Youssef1313
Youssef1313 deleted the rectangle-geometry-skia branch January 28, 2022 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants