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

Rework the Label mappers for FormattedText #18105

Merged
merged 1 commit into from Oct 23, 2023

Conversation

mattleibow
Copy link
Member

@mattleibow mattleibow commented Oct 18, 2023

Description of Change

The current implementation did not recreate the FormattedText spans when certain properties changed:

  • Font
  • TextColor

iOS explicitly handled these properties and then did not actually apply them.
Android did not handle it at all.

Issues Fixed

Fixes #17938

Tasks

  • Code
    • Android
    • iOS / Mac Catalyst
    • Windows
  • Tests
    • Device Tests
    • UI Tests

@mattleibow mattleibow added this to the .NET 8 GA milestone Oct 18, 2023
@mattleibow mattleibow requested a review from a team as a code owner October 18, 2023 12:35
@PureWeen PureWeen requested review from jsuarezruiz and removed request for jfversluis October 18, 2023 13:50
@mattleibow mattleibow force-pushed the dev/propagate-label-properties branch from 6bae69d to 643235c Compare October 18, 2023 21:59
@Eilon Eilon added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Oct 18, 2023
@mattleibow mattleibow force-pushed the dev/propagate-label-properties branch from 643235c to da19bf2 Compare October 19, 2023 02:01
Copy link
Contributor

@jsuarezruiz jsuarezruiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The FormattedStringSpanTextHasCorrectColorWhenChanges test seems to be failing on iOS.

The current implementation did not recreate the FormattedText spans when certain properties changed: Font and TextColor
@mattleibow mattleibow force-pushed the dev/propagate-label-properties branch from da19bf2 to 4db51b0 Compare October 19, 2023 13:39
@mattleibow
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@rmarinho rmarinho merged commit 55e1c80 into net8.0 Oct 23, 2023
47 checks passed
@rmarinho rmarinho deleted the dev/propagate-label-properties branch October 23, 2023 10:59
@PureWeen
Copy link
Member

/backport to release/8.0.1xx-rc2.1

@github-actions
Copy link
Contributor

Started backporting to release/8.0.1xx-rc2.1: https://github.com/dotnet/maui/actions/runs/6615461540

@github-actions github-actions bot locked and limited conversation to collaborators Dec 5, 2023
@Eilon Eilon added area-controls-label Label, Span and removed legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor labels May 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants