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

[Bug] [iOS] Label with FormattedText Crash on XF 5.0.1.1876 #13570

Closed
xDaijobu opened this issue Jan 28, 2021 · 4 comments
Closed

[Bug] [iOS] Label with FormattedText Crash on XF 5.0.1.1876 #13570

xDaijobu opened this issue Jan 28, 2021 · 4 comments
Labels
a/label s/needs-info ❓ A question has been asked that requires an answer before work can continue on this issue. s/needs-repro ❔ This reported issue doesn't include a sample project reproducing the issue. Please provide one. s/unverified New report that has yet to be verified t/bug 🐛
Projects

Comments

@xDaijobu
Copy link

Description

if I use Label without FormattedText the app work and Label with FormattedText, I received above crash

Steps to Reproduce

Create a new project & upgrade to XF 5.0.1.1876

    <Label>
        <Label.FormattedText>
            <FormattedString>
                <Span Text="25min" />
                <Span Text=" . " />
                <Span Text="Free delivery" />
            </FormattedString>
        </Label.FormattedText>
    </Label>

Expected Behavior

Xamarin.Forms 5.0.0.1931
Screen Shot 2021-01-28 at 11 39 17

Actual Behavior

Xamarin.Forms 5.0.1.1876
Screen Shot 2021-01-28 at 11 47 56
Screen Shot 2021-01-28 at 11 48 50

Basic Information

  • Version with issue: Xamarin.Forms 5.0.1.1876
  • Last known good version: Xamarin.Forms 5.0.0.1931
  • NuGet Packages:
  • Affected Devices:
@xDaijobu xDaijobu added s/unverified New report that has yet to be verified t/bug 🐛 labels Jan 28, 2021
@samhouts samhouts added this to New in Triage Jan 28, 2021
@rachelkang
Copy link
Contributor

Hi, @xDaijobu - thanks for submitting this issue. Would you mind clarifying what version of XF you're experiencing this issue? 5.0.0.1931 is our most recent version, so I'm not sure what you mean by 5.0.1.1876.

That being said, I tried running your sample on both 5.0.0.1874 and 5.0.0.1931 on the same emulator as you (iPhone 12 iOS 14.4) and was not able to reproduce this issue.

@rachelkang rachelkang added a/label s/needs-info ❓ A question has been asked that requires an answer before work can continue on this issue. s/needs-repro ❔ This reported issue doesn't include a sample project reproducing the issue. Please provide one. labels Feb 1, 2021
@rachelkang rachelkang moved this from New to Needs Info in Triage Feb 1, 2021
@xDaijobu
Copy link
Author

xDaijobu commented Feb 2, 2021

Hey Rachel, thanks for ur reply.
here's the repo
testt.zip

Xamarin.Forms 5.0.1.1876
Screen Shot 2021-02-02 at 07 55 51

@xDaijobu
Copy link
Author

xDaijobu commented Feb 4, 2021

update ?

@xDaijobu
Copy link
Author

xDaijobu commented Feb 23, 2021

Related #12259
Related #13526

I tested the latest nightly and the issue no longer happens.

Triage automation moved this from Needs Info to Closed Feb 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/label s/needs-info ❓ A question has been asked that requires an answer before work can continue on this issue. s/needs-repro ❔ This reported issue doesn't include a sample project reproducing the issue. Please provide one. s/unverified New report that has yet to be verified t/bug 🐛
Projects
Triage
  
Closed
Development

No branches or pull requests

2 participants