Skip to content

Incorrect Directional Formatting Characters in SemanticsDebugger #141344

@kseino

Description

@kseino

Steps to reproduce

  1. set showSemanticsDebugger to true https://api.flutter.dev/flutter/material/MaterialApp/showSemanticsDebugger.html
  2. show arabic strings in semantics label

Expected results

\u2067{semantics label}\u2069

https://unicode.org/reports/tr9/#Explicit_Directional_Isolates
https://api.flutter.dev/flutter/foundation/Unicode/RLI-constant.html

Actual results

\u2067{semantics label}\u202C

effectivelabel = '${Unicode.RLI}$tooltipAndLabel${Unicode.PDF}';

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)a: internationalizationSupporting other languages or locales. (aka i18n)found in release: 3.16Found to occur in 3.16found in release: 3.19Found to occur in 3.19frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions