Skip to content

[DarkMode] Dark Mode breaks Visual Basic App Framework enabled classic VisualStyles #11910

Closed

Description

@KlausLoeffelmann

.NET version

Visual Styles cannot be enabled any longer in .NET 9.

Did it work in .NET Framework?

Yes

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

Yes, in all of them.

Issue description

By default, (classic) Visual Styles are enabled in the Visual Basic Application Framework. This is also reflected by the Application Framework Project System Property Pages. Enabling or Disabling Visual Styles has no impact for Visual Basic Application Framework Apps.

Steps to reproduce

  • Create a new .NET 9 VB App Framework WinForms App.
  • Alternatively, load an existing VB App.
  • Make sure in the Project Property Pages, that Visual Styles are activated.
  • Confirm, in Application.MyApp that the settings from the UI got applied and the correct code got code-generated.
  • Run the App.

Activity

  1. added
    untriaged
    on Aug 18, 2024
  2. added
    🚧 work in progress
    on Aug 18, 2024
  3. removed
    untriaged
    on Aug 19, 2024
  4. Syareel-Sukeri commented on Aug 22, 2024

    @Syareel-Sukeri
    Contributor

    Verified this issue in the latest .NET 9 RC1 build: 9.0.100-rc.1.24421.9 from https://aka.ms/dotnet/9.0.1xx-rc1/daily/dotnet-sdk-win-x64.exe, it was fixed:

    360308689-2e308c53-69eb-4076-ac0e-980086ee4790

  5. added this to the 9.0 RC1 milestone on Aug 22, 2024
  6. MandiMan commented on Aug 22, 2024

    @MandiMan
    Contributor

    Verified this issue in the latest .NET9.0 SDK build: 9.0.100-rc.2.24420.21 + dlls built from Winforms main branch, it was fixed:
    image

  7. Nora-Zhou01 commented on Aug 26, 2024

    @Nora-Zhou01
    Contributor

    Verified the issue with .NET 9.0.100-rc.1.24422.10 test pass build that the issue has been fixed, which have the same results as above.

  8. MelonWang1 commented on Aug 29, 2024

    @MelonWang1
    Contributor

    Verified this issue in the latest .NET9.0 SDK build: 9.0.100-rc.2.24428.6, it was fixed. Same test result as above.

  9. Nora-Zhou01 commented on Sep 27, 2024

    @Nora-Zhou01
    Contributor

    Verified the issue with .NET 9.0.100-rc.2.24474.11 test pass build that the issue has been fixed, which have the same results as above.

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

Metadata

Metadata

Labels

🚧 work in progress

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions