dotnet/winforms

Cannot 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

View on GitHub
 (9 comments) (0 reactions) (1 assignee)C# (922 forks)batch import
: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:

  1. This issue also occurs in .Net 5.0&3.1&3.0.
  2. This issue cannot occurs when are no consecutive null items. image

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

Expected behavior: Correct item should be selected when using Space keyboard to check/uncheck null item. Expected Minimal repro:

  1. Extract the attachment project CheckedListBoxNullItem.zip
  2. Build and run
  3. Hit Space keyboard on null item

Contributor guide