Click events getting lost when pressing Space keyboard continuously to toolStripButton
See original GitHub issue.NET version
.Net 8.0 SDK build: 8.0.100-preview.6.23280.8
Did it work in .NET Framework?
No
Did it work in any of the earlier releases of .NET Core or .NET 5+?
No
Issue description
After the PR: https://github.com/dotnet/winforms/pull/9115, the control type for checkable/checked toolStripButton is changed from Button to CheckBox, so Narrator should announce the check/uncheck state when using keyboard or mouse to change state, the PR is: https://github.com/dotnet/winforms/pull/9142.
The problem is Screen readers: Narrator/JAWS/NVDA cannot announce the check/uncheck state continuously when pressing Space keyboard continuously to checkable/checked toolStripButton. Cannot reproduce it for standalone checkBox control using keyboard.
This issue doesn’t repro when using mouse to change check/uncheck state of toolStripButton continuously
Steps to reproduce
- Create a Winforms .Net application with ToolStrip,
- Add a ToolStripButton, set its CheckOnClick propterty to True
- Build and run
- Launch Narrator, use keyboard to focus on this ToolStripButton
- Press Space keyboard continuously to checkable/checked
toolStripButton
Issue Analytics
- State:
- Created 4 months ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
ToolStrip sometimes not responding to a mouse click
I have a .NET 2.0 WinForms application with a ToolStrip on my main form. Sometimes, the ToolStrip icons don't respond to the first...
Read more >Win10 press on spacebar triggering pageDown key
This started happening 2 weeks backs, whenever I press spacebar in my lenovo laptop pageDown key event is getting triggered. For Enterkey pageUp ......
Read more >ToolStrip Control Architecture - Windows Forms
ToolStripItem controls receive their own click, mouse, and paint events, and can perform some keyboard preprocessing also. Image Handling. The ...
Read more >Why is spacebar causing Unity to fire last OnClick() event
This is to allow keyboard navigation and was causing my issue when the Space bar was pressed. The correct setting for me was...
Read more >iPad external keyboard spacebar not working properly
The spacebar of the keyboard does not work properly on some applications including the native email app. When I clicked on the spacebar,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

We don’t have a tracking issue, will create a new issue for it later.
Verified this issue in the .NET 8 Preview 7 build: 8.0.100 -preview.7.23376.3, it was fixed that: result same as above Amy’s test result.