Skip to content

Rework the Label mappers for FormattedText - #18105

Merged
rmarinho merged 1 commit into
net8.0from
dev/propagate-label-properties
Oct 23, 2023
Merged

rmarinho merged 1 commit into
net8.0from
dev/propagate-label-properties

Conversation

@mattleibow

@mattleibow mattleibow commented Oct 18, 2023 •

Copy link
Copy Markdown
Member

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

@jsuarezruiz jsuarezruiz left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

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

Copy link
Copy Markdown
Member

/backport to release/8.0.1xx-rc2.1

@github-actions

Copy link
Copy Markdown
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
@samhouts samhouts added the fixed-in-8.0.0-rc.2.9511 Look for this fix in 8.0.0-rc.2.9511 label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-controls-label Label, Span fixed-in-8.0.0-rc.2.9511 Look for this fix in 8.0.0-rc.2.9511

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants