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

Form's FormCornerPreference property value cannot back to Default when change it from a non-Default value #11895

Closed
John-Qiao opened this issue Aug 16, 2024 · 6 comments · Fixed by #11907
Labels
🚧 work in progress Work that is current in progress
Milestone

Comments

@John-Qiao
Copy link
Member

John-Qiao commented Aug 16, 2024

.NET version

.NET SDK 9.0.100-rc.1.24415.1 + build private dlls from winforms repo release/9.0 branch

Did it work in .NET Framework?

No

Did it work in any of the earlier releases of .NET Core or .NET 5+?

No, this is a new feature Dark Mode: #11857

Issue description

Form's FormCornerPreference property value cannot back to Default when change it from a non-Default value.

Actual result:
The value is 'Round' in textbox control.
FormCornerPreference

Expected result:
The value should be 'Default' in textbox control.

Steps to reproduce

  1. Launch the FormCornerPreference-TestApp.zip project in VS and run it.
  2. Observe the value in textbox control.
@John-Qiao John-Qiao added the untriaged The team needs to look at this issue in the next triage label Aug 16, 2024
@John-Qiao John-Qiao changed the title [Dark Mode] Form's FormCornerPreference property value cannot back to Default when change it from a non-Default value Form's FormCornerPreference property value cannot back to Default when change it from a non-Default value Aug 16, 2024
@dotnet-policy-service dotnet-policy-service bot added the 🚧 work in progress Work that is current in progress label Aug 17, 2024
@dotnet-policy-service dotnet-policy-service bot removed the untriaged The team needs to look at this issue in the next triage label Aug 19, 2024
@John-Qiao
Copy link
Member Author

Verified this issue on 9.0.100-rc.2.24419.18 with dlls built from winforms repo of main branch, it was fixed: the value is 'Default' in textbox control now.

11895-testresult

@John-Qiao John-Qiao added this to the 9.0 RC2 milestone Aug 21, 2024
@MelonWang1
Copy link
Contributor

@KlausLoeffelmann Verified this issue in the latest .NET 9 RC1 build: 9.0.100-rc.1.24421.39 from https://aka.ms/dotnet/9.0.1xx-rc1/daily/dotnet-sdk-win-x64.exe, it still repro. The value cannot back to 'Default' in textbox control.
image

@MelonWang1 MelonWang1 modified the milestones: 9.0 RC2, 9.0 RC1 Aug 22, 2024
@MelonWang1
Copy link
Contributor

Verified the issue with .NET 9.0.100-rc.1.24422.10 test pass build, it still repro, have the same results as above.

@MandiMan
Copy link
Contributor

Verified this issue in the latest .NET9.0 SDK build: 9.0.100-rc.2.24428.9, it still repro, have the same results as above.

@John-Qiao
Copy link
Member Author

Verified the issue with .NET 9.0.100-rc.2.24474.11 test pass build, it still repro, have the same results as above.

@John-Qiao
Copy link
Member Author

Verified this issue with latest .NET 10.0.100-alpha.1.24508.48 from main branch, it was fixed: the value is 'Default' in textbox control now.

Image

@github-actions github-actions bot locked and limited conversation to collaborators Nov 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🚧 work in progress Work that is current in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants