winder / Universal-G-Code-Sender

A cross-platform G-Code sender for GRBL, Smoothieware, TinyG and G2core.
http://winder.github.io/ugs_website/
GNU General Public License v3.0
1.86k stars 757 forks source link

Jogging continues indefinitely when ctrl key is lifted before arrow key #2388

Closed Matthew-G-S closed 7 months ago

Matthew-G-S commented 7 months ago

Version

2.1.2

Hardware / Firmware

GRBL 1.1

What happened

UGS is set to only jog when the ctrl key is pressed with an arrow key, and it makes sense that the machine keeps jogging if the arrow key is kept depressed while the ctrl key is lifted. However, if I then lift the arrow key, it keeps jogging indefinitely until another jog command is given. Before I knew the reason, this caused a collision with the bed.

(I'm not actually sure what version of GRBL the machine is using. It was set up by a previous owner.)

How to reproduce

Be ready to hit the emergency stop. Press the ctrl key and an arrow key. Keeping the arrow key depressed, release the ctrl key. Release the arrow key.

Operating System

Windows 10 Pro 22H2

Anything else

No response

breiler commented 7 months ago

Thanks for the report, I managed to reproduce the problem on Linux as well.

breiler commented 7 months ago

Please try the latest nightly build here: https://github.com/winder/Universal-G-Code-Sender?tab=readme-ov-file#downloads