Winforms: [Regression] CheckedListBox selected item has an incorrect color

Created on 22 Jul 2020  路  4Comments  路  Source: dotnet/winforms

  • Regression from a6a308fa452770caafca55ee4d8ac54d1ee1015d
  • .NET Core Version: 5.0
  • Have you experienced this same bug with .NET Framework?: No

Problem description:

  • If to select some CheckedListBox item it will have an incorrect background color.
    image

Expected behavior:

  • CheckedListBox selected item has a color as before
    image

Minimal repro:

  • Create a .Net 5.0 app using the latest master branch dlls (Or just run WinformsControlsTest project - MultipleControls form)
  • Add a CheckedListBox with items to the form
  • Run the app and select some item
bug regression

All 4 comments

@JeremyKuhne, could you please take a look at this regression bug? It was added in a6a308fa452770caafca55ee4d8ac54d1ee1015d (PR #3553)
I think you know how to fix it. Could you please assign it to you and fix it?

@Vino-Wang, could you please test it using the latest master branch dlls if it possible and approve this bug?

FYI: @SergeySmirnov-Akvelon, @RussKie

I'll fix it shortly

Thank you so much for the hotfix. It works well now. 馃憤

Verified this issue with .Net 6.0.100-alpha.1.20420.20 from Master branch, this issue is fixed. CheckedListBox selected item has a color as before.
image

Was this page helpful?
0 / 5 - 0 ratings