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

[Windows] Fix Span Foreground property #24063

Merged
merged 5 commits into from
Aug 22, 2024
Merged

Conversation

Vignesh-SF3580
Copy link
Contributor

@Vignesh-SF3580 Vignesh-SF3580 commented Aug 7, 2024

Root Cause

The label uses the run element in WinUI platform while using formatted text. The label text color is applied to the text highlighter of the run element, which updates the run text color, but to update the underline color of hypertext, the run Foreground property needs to be updated, which was missed.

Description of Issue Fix

The fix involved updating the run Foreground property to ensure the underline color of hypertext is also updated, preventing it from remaining unchanged from the default.

Issues Fixed

Fixes #23488

Screenshots

Before
image

After
image

@Vignesh-SF3580 Vignesh-SF3580 requested a review from a team as a code owner August 7, 2024 09:07
@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Aug 7, 2024
@PureWeen
Copy link
Member

PureWeen commented Aug 7, 2024

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@PureWeen PureWeen added this to the .NET 8 SR9 milestone Aug 7, 2024
@PureWeen
Copy link
Member

PureWeen commented Aug 7, 2024

Works great!!

Once the tests are added this should be good to merge

@PureWeen
Copy link
Member

PureWeen commented Aug 8, 2024

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@PureWeen
Copy link
Member

PureWeen commented Aug 9, 2024

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@Vignesh-SF3580
Copy link
Contributor Author

@dotnet-policy-service agree

@jfversluis jfversluis merged commit 52386b8 into dotnet:main Aug 22, 2024
97 checks passed
Redth pushed a commit that referenced this pull request Aug 22, 2024
* 23448 - Span text-decoration is incorrect whereas the Label behaves properly.

* added UITest - 23488

* AutomationId added.

* updated namespace properly.

* Output images added.
@samhouts samhouts added fixed-in-net9.0-nightly This may be available in a nightly release! fixed-in-net8.0-nightly This may be available in a nightly release! labels Aug 27, 2024
@samhouts samhouts added fixed-in-9.0.0-rc.1.24453.9 and removed fixed-in-net9.0-nightly This may be available in a nightly release! fixed-in-net8.0-nightly This may be available in a nightly release! labels Sep 20, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Oct 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Span text-decoration is incorrect whereas the Label behaves properly
5 participants