Skip to content

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

Closed

Description

@John-Qiao

.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.

Activity

  1. added
    untriaged
    on Aug 16, 2024
  2. 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[/+] on Aug 16, 2024
  3. added
    🚧 work in progress
    on Aug 17, 2024
  4. removed
    untriaged
    on Aug 19, 2024
  5. John-Qiao commented on Aug 20, 2024

    @John-Qiao
    ContributorAuthor

    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

  6. added this to the 9.0 RC2 milestone on Aug 21, 2024
  7. MelonWang1 commented on Aug 22, 2024

    @MelonWang1
    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

  8. modified the milestones: 9.0 RC2, 9.0 RC1 on Aug 22, 2024
  9. MelonWang1 commented on Aug 27, 2024

    @MelonWang1
    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.

  10. MandiMan commented on Aug 29, 2024

    @MandiMan
    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.

  11. John-Qiao commented on Sep 27, 2024

    @John-Qiao
    ContributorAuthor

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

  12. John-Qiao commented on Oct 9, 2024

    @John-Qiao
    ContributorAuthor

    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

  13. locked and limited conversation to collaborators on Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🚧 work in progress

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions