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

[release/9.0] WinForms ComboBox border and drop down button are not visible sometimes #12785

Open
wants to merge 1 commit into
base: release/9.0
Choose a base branch
from

Conversation

ricardobossan
Copy link
Member

@ricardobossan ricardobossan commented Jan 14, 2025

Backport #12737 to 9.0
Fixes #12744
Fixes #12590

Customer Impact

  • ComboBox drop down button disappears when switching RightToLeft property, or recreating the ComboBox for any other reason.
  • ComboBox focus border is not shown when TAB-ing into ToolStripComboBoxItem

Root Cause

Proposed changes

Regression?

  • Yes

Risk

  • Minimal

Screenshots

Before

backport-9-before

After

backport-9-after

Test methodology

  • Manual

Test environment(s)

  • 9.0.100
Microsoft Reviewers: Open in CodeFlow

Fixes dotnet#12744

## Root Cause

- Regression introduced by PRs 11529 and 11761, which modified how `ComboBox` controls would be drawn.

## Proposed changes

- Revert code from PRs 11529 and 11761.

## Customer Impact

- `ComboBox` button can be shown normally when switching RightToLeft property, or recreating the `ComboBox` for any other reason.

## Regression?

- Yes

## Risk

- Minimal

## Screenshots

### Before

### After

## Test methodology

- Manual

## Test environment(s)

- 9.0.100
@ricardobossan ricardobossan self-assigned this Jan 14, 2025
@ricardobossan ricardobossan requested a review from a team as a code owner January 14, 2025 20:13
@ricardobossan ricardobossan added 🚫 * NO-MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) servicing-consider .NET Shiproom label indicating a PR seeks to enter into a branch under Tell-Mode criteria waiting-review This item is waiting on review by one or more members of team labels Jan 14, 2025
@Tanya-Solyanik Tanya-Solyanik added the waiting-for-testing The PR is awaiting manual testing by the primary team; no action is yet required from the author(s) label Jan 14, 2025
Copy link

codecov bot commented Jan 14, 2025

Codecov Report

Attention: Patch coverage is 54.16667% with 11 lines in your changes missing coverage. Please review.

Project coverage is 74.83752%. Comparing base (f96a54f) to head (18bbceb).
Report is 20 commits behind head on release/9.0.

Additional details and impacted files
@@                  Coverage Diff                  @@
##           release/9.0      #12785         +/-   ##
=====================================================
+ Coverage     74.83507%   74.83752%   +0.00244%     
=====================================================
  Files             3022        3022                 
  Lines           630413      630395         -18     
  Branches         46798       46795          -3     
=====================================================
+ Hits            471770      471772          +2     
+ Misses          155250      155238         -12     
+ Partials          3393        3385          -8     
Flag Coverage Δ
Debug 74.83752% <54.16667%> (+0.00244%) ⬆️
integration 18.02409% <0.00000%> (+0.00819%) ⬆️
production 47.87142% <54.16667%> (+0.00374%) ⬆️
test 97.00177% <ø> (ø)
unit 44.90332% <54.16667%> (-0.00174%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@Tanya-Solyanik Tanya-Solyanik removed the waiting-review This item is waiting on review by one or more members of team label Jan 14, 2025
@Olina-Zhang
Copy link
Member

Tested this PR, affected issues were fixed, no new issue found.

@Olina-Zhang Olina-Zhang removed the waiting-for-testing The PR is awaiting manual testing by the primary team; no action is yet required from the author(s) label Jan 15, 2025
@Tanya-Solyanik Tanya-Solyanik changed the title Fixes ComboBox border not visible in strip controls when navigated via keyboard [release/9.0] Fixes ComboBox border not visible in strip controls when navigated via keyboard Jan 15, 2025
@Tanya-Solyanik Tanya-Solyanik changed the title [release/9.0] Fixes ComboBox border not visible in strip controls when navigated via keyboard [release/9.0] WinForms ComboBox border and drop down button are not visible sometimes Jan 19, 2025
@Tanya-Solyanik Tanya-Solyanik added servicing-approved .NET Shiproom approved the PR for merge and removed servicing-consider .NET Shiproom label indicating a PR seeks to enter into a branch under Tell-Mode criteria labels Jan 21, 2025
@Tanya-Solyanik Tanya-Solyanik added this to the 9.0.3 milestone Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚫 * NO-MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) servicing-approved .NET Shiproom approved the PR for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants