Focused textbox loses focus on autosave

Whenever studio autosaves, it will release focus on any textbox in the properties window. So if I’m in the middle of typing an instance name or a textlabel and studio autosaves, it will lose focus and I’ll have to click on the textbox again to continue typing. This is something small but happens often enough that it becomes annoying when it does happen and it just makes studio feel like a lower quality piece of software.

I’m on Windows 10

Studio should check if a textbox is in focus before it runs autosave and if there’s a textbox in focus then wait until its out of focus to run the autosave

6 Likes

This is just an acknowledgment announcement!

We’ve filed a ticket into our internal database for this issue and will start investigating, we will update you when we have further information.

Thanks for flagging!

1 Like

Hello! We recently adjusted autosave so it’s less likely to go off while you’re actively editing something.

There’s still a tiny chance of this interruption happening if it hasn’t been able to successfully autosave in a long time, but it should be less frequent than before. Thanks for your report!

2 Likes

By chance does this use the :GetFocusedTextBox() method on the backend and delay auto-saves for an X amount of time whilst a text box is focused? Would be interesting to know how this works on the backend, haha. Overall cool change though

1 Like

We also wanted to apply this change for other types of edits, like dragging something in the viewport, so rn it’s listening to general mouse clicks and keyboard presses. If it starts trying to autosave and one of those recently happened, it’ll skip that attempt.

A better/more permanent fix would be turning autosave into a non-blocking action, but that’ll take a lot of time and planning, so we’re hopeful this change will help things in the meantime

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.