Godot: FileSystem panel loses focus after Renaming or Duplicating files

Created on 28 Oct 2019  路  3Comments  路  Source: godotengine/godot

Godot version:
3.2.alpha 35944aebdeb4c3b5869aaeedaaded02397b7ce92
OS/device including version:
5.3.7.arch1-1
Issue description:
Deleting, renaming or duplicating a file in the FileSystem panel opens a prompt window. If you close this window while deleting a file (either by confirming the deletion or cancelling it) the FileSystem panel regains focus. This doesn't happen when duplicating or renaming a file. edit: and it would be nice if it did.
Steps to reproduce:

  1. Select a file in the FileSystem panel
  2. Duplicate the file either by right-click -> Duplicate or the shortcut Ctrl+D
  3. Type a new name and press Return(Enter) to confirm
bug confirmed editor usability

Most helpful comment

Oh sorry for being unclear: I believe having the FileSystem panel regain focus after duplicating/renaming should be the way it behaves. This would make it behave the same way as the Scene panel where it's possible to navigate using the arrow keys and duplicate/rename/delete using shortcut keys (trying to do that in the FileSystem means going back and forth from the keyboard and mouse to refocus the panel.)

All 3 comments

What would be the intended behaviour?

I the deleting behaviour correct or the renaming and duplicating behaviour correct?

Oh sorry for being unclear: I believe having the FileSystem panel regain focus after duplicating/renaming should be the way it behaves. This would make it behave the same way as the Scene panel where it's possible to navigate using the arrow keys and duplicate/rename/delete using shortcut keys (trying to do that in the FileSystem means going back and forth from the keyboard and mouse to refocus the panel.)

Still valid in 3.2.3
Although when you do something with keyboard only, the file system keeps the focus properly. It loses it only when you move the mouse over viewport.

Was this page helpful?
0 / 5 - 0 ratings