Skip to content

While editing the text fields for GLCM parameters, the validation (or a similar process) keeps moving the text cursor to the end

Initially, the content of the "Distances in mm" textbox is 0.03125, 0.0625, 0.09375, 0.125, 0.15625, 0.1875, 0.21875, 0.25.

If the user tries to remove, e.g., the 0.21875 value using the delete or backspace key, then the text cursor is moved to the end of the textbox after each key press (meaning the value cannot be deleted by simple repeated pressing of the key).

Similar happens when trying to insert a value into the middle of the textbox.

At the same time, the validation seems to allow letters to be entered. So either it would be nice if the program remembered and restored the position of the text cursor after each edit+validation, or the validation could be just removed altogether (as it doesn't seem to prevent non-numeric input anyway).