TheDeanLab / navigate

navigate - open source light-sheet microscope controls
https://thedeanlab.github.io/navigate/
Other
31 stars 6 forks source link

Stage controller initiates a move before the user finishes typing #882

Closed SJShep closed 5 months ago

SJShep commented 5 months ago

This issue concerns the GUI stage control window. When typing a position in any of the X, Y, Z stage text entry boxes, the stage begins to move to the entered value before the user finishes typing and changes focus by leaving the text box. For example, if I pause for a moment at 10 while typing 1000, the stage starts moving to 10.

While I don't anticipate this being a frequent occurrence, it does introduce the risk of a collision. Could the text box be configured to update the stage only when the user leaves the text box?

AdvancedImagingUTSW commented 5 months ago

Ideally should be a focus out event only, or perhaps when the user presses enter or tab.

image