-
Notifications
You must be signed in to change notification settings - Fork 997
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
ricardobossan
wants to merge
1
commit into
dotnet:release/9.0
Choose a base branch
from
ricardobossan:Issue_12744_ComboBox_Border_Invisible
base: release/9.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[release/9.0] WinForms ComboBox border and drop down button are not visible sometimes #12785
ricardobossan
wants to merge
1
commit into
dotnet:release/9.0
from
ricardobossan:Issue_12744_ComboBox_Border_Invisible
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
requested review from
Tanya-Solyanik,
lonitra,
LeafShi1 and
Epica3055
January 14, 2025 20:13
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
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
Codecov ReportAttention: Patch coverage is
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
Flags with carried forward coverage won't be shown. Click here to find out more. |
Tanya-Solyanik
approved these changes
Jan 14, 2025
Tanya-Solyanik
removed
the
waiting-review
This item is waiting on review by one or more members of team
label
Jan 14, 2025
Tested this PR, affected issues were fixed, no new issue found. |
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
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
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
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport #12737 to 9.0
Fixes #12744
Fixes #12590
Customer Impact
ComboBox
drop down button disappears when switching RightToLeft property, or recreating theComboBox
for any other reason.ComboBox
focus border is not shown when TAB-ing into ToolStripComboBoxItemRoot Cause
ComboBox
controls was be drawn. It was an attempt to fix flickering of the control border when the mouse hovers over the control by reducing the number of times control is re-drawn, but we missed some cases where re-drawing was required. We don't have a better fix for the original flickering issue at the moment.Proposed changes
Regression?
Risk
Screenshots
Before
After
Test methodology
Test environment(s)
Microsoft Reviewers: Open in CodeFlow