Skip to content

Made ListBox.DefaultItemHeight property obsolete. - #8640

Closed
dkazennov wants to merge 1 commit into
dotnet:mainfrom
dkazennov:Issue_4463_2_DefaultItemHeight_obsoletion
Closed

dkazennov wants to merge 1 commit into
dotnet:mainfrom
dkazennov:Issue_4463_2_DefaultItemHeight_obsoletion

Conversation

@dkazennov

@dkazennov dkazennov commented Feb 14, 2023 •

Copy link
Copy Markdown
Contributor

Fixes #4463 (partially, see also #8755)

Proposed changes

Customer Impact

  • Made property obsolete. Made changes to documentation and obsoletion inside the project.

Regression?

  • No

Risk

  • Minimal

Test methodology

  • Manual (Issue can be tested via substitution of dlls, complete restart of the VS recommended)

Test environment(s)

  • dotnet 8.0.100-alpha.1.22607.6
Microsoft Reviewers: Open in CodeFlow
Microsoft Reviewers: Open in CodeFlow

@dkazennov
dkazennov requested a review from a team as a code owner February 14, 2023 11:03
@ghost ghost assigned dkazennov Feb 14, 2023
@dkazennov dkazennov added 📖 documentation: breaking please open a breaking change issue https://github.com/dotnet/docs/issues/new?assignees=gewarren 📚 documentation Open issue here - https://github.com/dotnet/dotnet-api-docs/issues 🚫 * NO-MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) labels Feb 14, 2023
@dkazennov

dkazennov commented Feb 14, 2023 •

Copy link
Copy Markdown
Contributor Author

Note: This PR should be merged after #8518. As was requested by @Tanya-Solyanik .

UPD. Warnings in builds will go away after implementation of the #8518 where the obsolete member is not being used anymore.

@Tanya-Solyanik

Copy link
Copy Markdown
Contributor

Please move the corresponding test changes as well. After the attribute removal change is in, we'll expose the replacement property for this constant.

@dkazennov

dkazennov commented Feb 15, 2023 •

Copy link
Copy Markdown
Contributor Author

Please move the corresponding test changes as well. After the attribute removal change is in, we'll expose the replacement property for this constant.

Yes, I have moved it here. To make sure this obsoletion changes are not implemented earlier than they should.

@dkazennov
dkazennov force-pushed the Issue_4463_2_DefaultItemHeight_obsoletion branch from 39ee9bb to 304d7c9 Compare February 15, 2023 10:32
@Tanya-Solyanik

Copy link
Copy Markdown
Contributor

Related to dotnet/docs#33953

@Tanya-Solyanik Tanya-Solyanik added the waiting-author-feedback The team requires more information from the author label Feb 24, 2023
@dkazennov
dkazennov force-pushed the Issue_4463_2_DefaultItemHeight_obsoletion branch from 304d7c9 to 793e9eb Compare March 6, 2023 07:09
@ghost ghost removed the waiting-author-feedback The team requires more information from the author label Mar 6, 2023
@dkazennov

Copy link
Copy Markdown
Contributor Author

Rebased to incorporate changes, introduced by #8518
Now new unit test passes successfully.

@dkazennov

dkazennov commented Mar 16, 2023 •

Copy link
Copy Markdown
Contributor Author

Rebased on most recent main to include massive fixes in unit tests. Changed the unit test ListBox_ItemHeight_EqualsDefaultHeight_IfDefaultFontIsChanged to be in line with fix #8755

This PR should be merged after the #8755

v-elnovikova
v-elnovikova previously approved these changes Mar 22, 2023
@dkazennov
dkazennov force-pushed the Issue_4463_2_DefaultItemHeight_obsoletion branch from d511482 to e02a93b Compare April 4, 2023 08:06
@dkazennov

Copy link
Copy Markdown
Contributor Author

I have changed ListBox_ItemHeight_EqualsDefaultHeight_IfDefaultFontIsChanged to be in line with changes in #8755 (investigation there showed issues in this PR as well). Of course, this PR will work only after #8755 is merged.

Take a note this new test here ListBox_ItemHeight_EqualsDefaultHeight_IfDefaultFontIsChanged now intersects a bit with new test ListBox_ItemHeight_ResetValue_Success_If_DefaultListBoxItemHeight_IsChanged introduced in #8755.

@Tanya-Solyanik Tanya-Solyanik added waiting-review This item is waiting on review by one or more members of team waiting-on-team This work item needs to be discussed with team or is waiting on team action in order to proceed labels May 31, 2023
@Tanya-Solyanik Tanya-Solyanik added draft draft PR and removed 🚫 * NO-MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) waiting-review This item is waiting on review by one or more members of team waiting-on-team This work item needs to be discussed with team or is waiting on team action in order to proceed labels Jul 31, 2023
@ghost ghost assigned dkazennov Jul 31, 2023
@Tanya-Solyanik
Tanya-Solyanik marked this pull request as draft July 31, 2023 17:48
@lonitra

lonitra commented Nov 15, 2023

Copy link
Copy Markdown
Member

Closing as the approach to fix this issue seems to be superseded by #10142

@lonitra lonitra closed this Nov 15, 2023
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

📖 documentation: breaking please open a breaking change issue https://github.com/dotnet/docs/issues/new?assignees=gewarren 📚 documentation Open issue here - https://github.com/dotnet/dotnet-api-docs/issues draft draft PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The code generated by the ListBox control is not consistent with Framework

4 participants