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

[iOS] Double dash converts into a single long dash on after 20584 fix #21561

Open
MichaelShapiro opened this issue Apr 1, 2024 · 1 comment
Labels
area-controls-editor Editor platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@MichaelShapiro
Copy link

Description

I originally submitted a bug where a double dash in an Entry caused a crash on iOS #20439. It as fixed by #20584 in MAUI 8.0.10.

I believe there is still a bug in that fix unfortunately. The reproduction steps are identical as in the original report.

There is a page (PageN) that hosts an Entry with a Text property set in xaml to double dash.

<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="DoubleDashCrash.DoubleDashCrashPage"
             Title="Double Dash Crash Page">

    <Editor
        Text="--"
        BackgroundColor="Yellow"
        VerticalOptions="Center" 
        HorizontalOptions="Center" />
    
</ContentPage>

If you do not tap inside the Entry in step 1 above before visiting PageN then the Entry does correctly reflect double dash (two dashes).

IMG_0021.MOV

Steps to Reproduce

Before visiting the above page you land on another page (PageA) that also hosts an Entry.

  1. Land on PageA. Tap inside the entry. Just tap, no need to type anything
  2. Now visit PageN.

Expected result: the Entry reflects the text that was set in xamls above, which is double dash
Actual (bug): The entry reflects a single long dash.

Link to public reproduction project repository

https://github.com/MichaelShapiro/MauiBugs/tree/master/DoubleDashCrash

Version with bug

8.0.10 SR3

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

no

Relevant log output

No response

@MichaelShapiro MichaelShapiro added the t/bug Something isn't working label Apr 1, 2024
@RoiChen001
Copy link

Can repro this issue at iOS platform on the latest 17.10.0 Preview 2(8.0.14).

@RoiChen001 RoiChen001 added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Apr 2, 2024
@PureWeen PureWeen added legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor area-controls-editor Editor labels May 7, 2024
@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
@jsuarezruiz jsuarezruiz added this to the Backlog milestone Jun 4, 2024
@samhouts samhouts removed s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jul 3, 2024
@samhouts samhouts added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-editor Editor platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants