Skip to content

axis: the first jog after the MDI tab no longer stops at once - #4872

Merged
andypugh merged 1 commit into
LinuxCNC:2.9from
grandixximo:axis-jog-focus
Nov 22, 2026
Merged

andypugh merged 1 commit into
LinuxCNC:2.9from
grandixximo:axis-jog-focus

Conversation

@grandixximo

Copy link
Copy Markdown
Contributor

After using the MDI tab, the first click on a jog button in AXIS moves a fraction of a millimeter and stops; the second click jogs normally.

Raising the Manual tab focuses ., and the first jog then focuses its axis button. Tk reports that as a FocusOut on . with detail NotifyInferior, which the binding took for the window losing the focus, so jog_off_all() stopped the jog. The fix ignores NotifyInferior; losing the focus to another application still stops the jogs.

Checked with AXIS under Xvfb on sim/axis/axis_mm.ini: before, the first jog after the MDI tab stopped at 0.25 mm; after, it runs like the second.

Raising the Manual tab focuses ".", and the first jog then focuses its axis button. Tk reports that as a FocusOut on "." with detail NotifyInferior, which the binding took for the window losing the focus, so jog_off_all() stopped the jog a fraction of a millimeter in. Ignore NotifyInferior; losing the focus to another application still stops the jogs.
@andypugh
andypugh merged commit 8512904 into LinuxCNC:2.9 Nov 22, 2026
37 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants