Sometimes controls don't activate on mouse clicks
See original GitHub issueThis is really tricky to reproduce and I have not yet found a reliable way of reproducing it with the debugger.
- Run
demo.c
in cmd.exe or ConEmu on Windows (any terminal that supports mouse). - Click on any control (e.g. a top-level
MenuBarItem
or one of the radio buttons. - Click on another control.
- Then another …
- Eventually you’ll notice one of your clicks does nothing; the target control does not get focus as expected. Clicking again will work.
- You’ll think you’re crazy and you just either didn’t hit the mouse button hard enough or missed the hit-target. But you didn’t.
- You’ll try again and find you can’t precisely reproduce it the same way.
P.S. I thought I had introduced this bug in my upcoming MenuBar
PR and was actually quite happy to find it also exists in the current master
and that it exists across all controls.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:24
Top Results From Across the Web
Mouse Clicks Not Registering? 14 Proven Ways To Fix It
How to Fix Mouse Click Not Registering? · Change Buttons Configurations · Lower High CPU usage · Disable USB Selective Suspend · Uninstall...
Read more >How to Fix the Left Click Mouse Button Not Working on ...
How to Fix the Left Click Mouse Button Not Working on Windows 10 · 1. Fix a Corrupted User Profile · 2. Check...
Read more >After a while, mouse click fails and only Ctrl Alt Del brings ...
I can work in an active window with no problem but the taskbar/start menu and all other windows don't respond to mouse clicks....
Read more >FIX: Mouse Moves but Cannot Click (Solved) - wintips.org
1. Enable the mouse keys by using the instructions above (Step-3, Case B: 1-3), to control the mouse with the numeric pad on...
Read more >Windows 10: Mouse unresponsive to left and right click
The solution to the problem is found! · Go to Device Manager, find the corresponding mouse name, right click on it, select Disable...
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 FreeTop 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
Top GitHub Comments
I think it is fixed. It was hard to reproduce before, and I’ve been trying since @bdisp made his latest changes that fixed some window dragging issues…I think they were the root cause.
Note that mouse is still broken in Windows Terminal. This is for all GUI apps, and is not specific to
Terminal.Gui
.But it is only working on Windows 10. Still working on Curses.