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

The PropertyGrid displays properties of selected object incorrectly with Net 5.0 Windows app (Core) #3919

Closed
ChungNNVN opened this issue Sep 16, 2020 · 7 comments

Comments

@ChungNNVN
Copy link

  • .NET Core Version:
    .NET SDK 5.0.100-preview.7.20417.9

  • Have you experienced this same bug with .NET Framework?:
    No

Problem description:

The PropertyGrid displays properties of selected object incorrectly in Net 5.0 app. But display correctly with Net 4.5.2 or Net Core 3.1 version. The used VS version is 16.8.0 Preview 2.1.
Sample code:
private void Form1_Load(object sender, EventArgs e)
{
propertyGrid1.SelectedObject = new Font(DefaultFont.FontFamily, 15);
propertyGrid1.Refresh();
}

Result:
image

Expected behavior:
The PropertyGrid in Net 5.0 app display all properties of selected object.

Minimal repro:

  1. Run attached app:
    TestPropertyGrid.zip

  2. Observe:
    PropertyGrid display properties of selected object.

@kirsan31
Copy link
Contributor

Must be fixed in rc1.

@RussKie
Copy link
Member

RussKie commented Sep 16, 2020

Please try the latest nightly RC2 build: https://github.com/dotnet/installer

@RussKie RussKie added the waiting-author-feedback The team requires more information from the author label Sep 16, 2020
@ChungNNVN
Copy link
Author

Please try the latest nightly RC2 build: https://github.com/dotnet/installer
This was fixed in RC2, thanks!

@ghost ghost removed the waiting-author-feedback The team requires more information from the author label Sep 17, 2020
@RC1207Sev
Copy link

The problem seems happening again on 5.0.201 and on 5.0.104.
image

@kirsan31
Copy link
Contributor

@RC1207Sev #4593

@RC1207Sev
Copy link

@RC1207Sev #4593

Thank you for the super fast reply and thank you for working on it. If you tell me the 5.0.5 has the fix and will be released in days, I will wait and upgrade.

Thanks!

@kirsan31
Copy link
Contributor

kirsan31 commented Mar 12, 2021

5.0.5 will be contain fix, but I am afraid that it will be release approximately in one month (unless it will be forced).
And yes, your are not alone who come in troubles with this :(

@ghost ghost locked as resolved and limited conversation to collaborators Jan 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants