winforms
winforms copied to clipboard
Fix ToolStripStatusLabel text visibility in High Contrast mode with System RenderMode
Fixes #14098
Proposed changes
- Modify PaintText() in ToolStripLabel class to make sure ToolStripStatusLabel text visibility in High Contrast mode with System RenderMode.
Customer Impact
- ToolStripStatusLabel text visibility in High Contrast mode with System RenderMode.
Regression?
- No
Risk
- Minimal
Screenshots
Before
https://github.com/user-attachments/assets/a7a2ec47-0d30-458f-a261-904ed2e0e80e
After
https://github.com/user-attachments/assets/953f39e1-9ab2-4fe7-9c2a-51daff8330a7
Test methodology
- Manually
Microsoft Reviewers: Open in CodeFlow
Codecov Report
:x: Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 77.15384%. Comparing base (ae5cd21) to head (6757363).
Additional details and impacted files
@@ Coverage Diff @@
## main #14110 +/- ##
===================================================
- Coverage 77.15789% 77.15384% -0.00405%
===================================================
Files 3279 3279
Lines 645317 645325 +8
Branches 47718 47720 +2
===================================================
- Hits 497913 497893 -20
- Misses 143717 143745 +28
Partials 3687 3687
| Flag | Coverage Δ | |
|---|---|---|
| Debug | 77.15384% <0.00000%> (-0.00405%) |
:arrow_down: |
| integration | 18.99503% <0.00000%> (+0.00921%) |
:arrow_up: |
| production | 52.01685% <0.00000%> (-0.00839%) |
:arrow_down: |
| test | 97.40749% <ø> (ø) |
|
| unit | 49.46119% <0.00000%> (-0.01528%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.