dotnet/winforms
View on GitHubCannot select correct item when there are consecutive null items in CheckedListBox and using Space Keyboard to check/uncheck
Open
#5,526 opened on Aug 25, 2021
:construction: work in progresshelp wanted
Repository metrics
- Stars
- (4,100 stars)
- PR merge metrics
- (Avg merge 14d 22h) (56 merged PRs in 30d)
Description
-
.NET Core Version: 6.0.100-rc.1.21417.19
-
Have you experienced this same bug with .NET Framework?: Yes, this issue occurs from .Net Framework 3.5 to 4.8.
More info:
- This issue also occurs in .Net 5.0&3.1&3.0.
- This issue cannot occurs when are no consecutive null items.

Problem description:
Cannot select correct item when using Space keyboard to check/uncheck null item.

Expected behavior:
Correct item should be selected when using Space keyboard to check/uncheck null item.
Minimal repro:
- Extract the attachment project CheckedListBoxNullItem.zip
- Build and run
- Hit Space keyboard on null item