question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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. Issue1_CheckStateChange

This issue doesn’t repro when using mouse to change check/uncheck state of toolStripButton continuously

Steps to reproduce

  1. Create a Winforms .Net application with ToolStrip,
  2. Add a ToolStripButton, set its CheckOnClick propterty to True
  3. Build and run
  4. Launch Narrator, use keyboard to focus on this ToolStripButton
  5. Press Space keyboard continuously to checkable/checked toolStripButton

WinFormsApp14.zip

Issue Analytics

  • State:closed
  • Created 4 months ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Amy-Li03commented, Jul 11, 2023

We don’t have a tracking issue, will create a new issue for it later.

0reactions
John-Qiaocommented, Jul 31, 2023

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found