Description
The F2 shortcut is used to quickly rename objects. The behavior, however, only works when the object is selected through the Explorer tab. When selecting an object view the Studio viewport, the F2 shortcut is nonfunctional.
Reproduction
Constantly
Select an object via the Explorer tab
Press F2
Observe that the name text-field is highlighted and read to be overwritten
Select an object by clicking on it in the Studio viewport
Press F2
Observe that nothing happens
Actual Behavior
The F2 shortcut only provides functionality when the object was selected via the Studio Explorer tab.
Expected Behavior
The F2 shortcut should provide functionality regardless of how the object was selected.
Beta Features
3D Import gLTF Support, AI-Powered Code Completion, CSG Version 3, DragDetectors, Explorer Services Cleanup, Face Capture, IKControl Joint Constraint Support, Live Animation Creator, Material Generator, Multi-Cursor Script Editing, New Character Controller, New Text Chat Service, Notched Screen Support, Save Rig With Animation, Scale Factor For Models, Selection Improvements, Team Create Connection Indicator Rework, Terrain Editor Improvements, Upgrade Shorelines
System Information
Intel i7 @ 2.50 GHz, 16.0 GB, NVIDIA GeForce GTX 1160
This might be intentional, when you select a instance via the viewport, the current focused window would be the viewport window, you can try focusing back to the explorer window and press F2
That’s not common behavior though within other programs. If I wanted to select the object in the explorer I would just use the name property. F2 within the viewport with an object selected to rename it would make it a lot more efficient.
This is standard UI behavior shared with other applications. The standard F2 rename shortcut available in tree views only works when the tree view control itself is focused. You’ll see the same thing in other applications such as the Windows Explorer.
This isn’t a bug because if we wanted to diverge from the standard behavior there would be non-trivial design considerations (should it only be for the viewport / Explorer pane? What if you change the selection through something like the Animation Editor, should F2 still work and on what?)
Open a feature request if you want some sort of F2 behavior in the viewport.