EsotericSoftware / spine-editor

Issue tracking for the Spine editor.
http://esotericsoftware.com/
29 stars 2 forks source link

Retain numerical input selection after pressing enter key #765

Closed misaki-eymard closed 6 months ago

misaki-eymard commented 11 months ago

Under the current specifications, pressing the Enter key after entering a value for any transform will immediately reset the input selection. This means that, for example, if you try to enter Scale Y immediately after entering Scale X, pressing the Tab key will select Rotation, and you need to press the Tab key several times to select Scale Y after going through Translate X, Translate Y, and Scale X. Although you can select Scale Y immediately by clicking on the input field, this is a bit inconvenient for working quickly with just the keyboard. It would be a good idea to keep the input selection state until the timeline bar is moved or the user clicks somewhere on the editor interface, so that the user can immediately move to the next input field.

Related post on the forum: https://esotericsoftware.com/forum/d/25018-its-a-very-minor-feature

NathanSweet commented 11 months ago

I don't understand the repro steps.

Use shift+tab to go backward in the focus traversal order.

Enter cannot focus the next field. Pressing enter is for when you are done editing: focus is cleared. This is necessary because while a text field has focus, most hotkeys don't happen.