Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] Shapes: ArcSegment throwing on iOS, doing nothing on Android #11190

Closed
davidbritch opened this issue Jun 24, 2020 · 3 comments
Closed

[Bug] Shapes: ArcSegment throwing on iOS, doing nothing on Android #11190

davidbritch opened this issue Jun 24, 2020 · 3 comments
Assignees
Labels
a/shapes e/3 🕒 3 in-progress This issue has an associated pull request that may resolve it! p/Android p/iOS 🍎 t/bug 🐛
Milestone

Comments

@davidbritch
Copy link

Description

I'd expect the following code to work:

        <Path Stroke="Black">
                <Path.Data>
                    <PathGeometry>
                        <PathGeometry.Figures>
                            <PathFigureCollection>
                                <PathFigure StartPoint="10,100">
                                    <PathFigure.Segments>
                                        <PathSegmentCollection>
                                            <ArcSegment Size="100,50"
                                                        RotationAngle="45"
                                                        IsLargeArc="True"
                                                        SweepDirection="CounterClockwise"
                                                        Point="200,100" />
                                        </PathSegmentCollection>
                                    </PathFigure.Segments>
                                </PathFigure>
                            </PathFigureCollection>
                        </PathGeometry.Figures>
                    </PathGeometry>
                </Path.Data>
            </Path>

On iOS this throws a ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

On Android, nothing renders.

Steps to Reproduce

  1. Run the attached sample.
  2. Browse to the PathGeometry page.
  3. Scroll down to "PathGeometry with an ArcSegment".

Expected Behavior

ArcSegment is drawn.

Actual Behavior

iOS: ArgumentOutOfRangeException
Android: Nothing drawn.

Basic Information

  • Version with issue: 4.7.0.968
  • IDE: VSMac 8.6.4
  • Platform Target Frameworks:
    • iOS: 13.5
    • Android: API 28

Reproduction Link

ShapesDemos.zip

@davidbritch davidbritch added t/bug 🐛 s/unverified New report that has yet to be verified labels Jun 24, 2020
@jsuarezruiz jsuarezruiz self-assigned this Jun 24, 2020
@jsuarezruiz jsuarezruiz added this to New in Triage via automation Jun 24, 2020
@jsuarezruiz jsuarezruiz added e/3 🕒 3 and removed s/unverified New report that has yet to be verified labels Jun 24, 2020
@jsuarezruiz jsuarezruiz moved this from New to Ready For Work in Triage Jun 24, 2020
@samhouts samhouts added the in-progress This issue has an associated pull request that may resolve it! label Jun 25, 2020
@samhouts samhouts added this to In Progress in 4.7.0 Jun 25, 2020
@samhouts samhouts added this to To do in iOS Ready For Work Jul 1, 2020
@samhouts samhouts removed this from Ready For Work in Triage Jul 1, 2020
@samhouts samhouts moved this from To do to In progress in Android Ready For Work Jul 1, 2020
@samhouts samhouts moved this from To do to In progress in iOS Ready For Work Jul 1, 2020
@samhouts samhouts removed this from In Progress in 4.7.0 Jul 23, 2020
@samhouts samhouts added this to In Progress in vCurrent (4.8.0) Jul 30, 2020
@samhouts samhouts removed this from In Progress in vCurrent (4.8.0) Aug 4, 2020
@samhouts samhouts added this to In Progress in vNext+1 (5.0.0) Aug 11, 2020
@samhouts samhouts added this to the 5.0.0 milestone Aug 13, 2020
@samhouts samhouts moved this from In Progress to Done in vNext+1 (5.0.0) Aug 24, 2020
Android Ready For Work automation moved this from In progress to Done Aug 25, 2020
iOS Ready For Work automation moved this from In progress to Done Aug 25, 2020
@samhouts samhouts removed this from Done in Android Ready For Work Nov 3, 2020
@samhouts samhouts removed this from Done in iOS Ready For Work Nov 3, 2020
@eli191
Copy link

eli191 commented Dec 4, 2020

Hi, I have this issue, can you tell me if the fix is released please?

@davidbritch
Copy link
Author

Hi @eli191

It's fixed in 5.0 (which is currently a pre-release).

@eli191
Copy link

eli191 commented Dec 4, 2020

Super ! I will try it then !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/shapes e/3 🕒 3 in-progress This issue has an associated pull request that may resolve it! p/Android p/iOS 🍎 t/bug 🐛
Projects
No open projects
Development

No branches or pull requests

4 participants