Skip to content

File rename (and some other operations) in FileSystem moves keyboard focus out of FileSystem #82774

Closed
@miv391

Description

@miv391

Godot version

v4.2.dev6.official [57a6813]

System information

Godot v4.2.dev6 - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 6GB (NVIDIA; 31.0.15.3640) - Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (4 Threads)

Issue description

File rename in FileSystem moves keyboard focus out of FileSystem

When a file is renamed in FileSystem, keyboard focus is lost. There doesn't seem to be any way to move focus back to FileSystem by using keyboard only. You need to click FileSystem by mouse.

Some other operations do the same. Losing the focus makes it quite annoying to make operations to multiple files.

Keyboard focus is lost:

  • rename
  • duplicate
  • create new folder

Keyboard focus is kept:

  • delete
  • create new script / text file / resource

Steps to reproduce

  1. Select icon.svg
  2. Press F2 to rename the file
  3. Try to move in the FileSystem using keyboard or renaming the file again by pressing F2
    -> nope, that doesn't work

Minimal reproduction project

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions