Search Issue Tracker

By Design

Votes

0

Found in

2019.4.0f1

2020.1

2020.2

2021.1

2021.1.0a10

Issue ID

1298544

Regression

No

[UI Builder] F2 button does not rename highlighted element in the UI Builder Hierarchy

UI Builder

-

F2 button does not rename highlighted element in the UI Builder Hierarchy

Steps to repro:
1. Create a new Project.
2. Open the UI Builder via the Window > UI Toolkit > UI Builder menu
3. Open Library > Controls and double-click on Button --> this will add a button to the UI hierarchy
4. Hierarchy > Select Button > Press "F2".

Actual Result:
Nothing happens

Expected Result:
Selected element should be in the renamed state.

Reproducible in:
2021.1.0a9, 2020.2.0f1, 2020.1.1f1, 2019.4.0f1 with Package Version 1.0.0-preview.9.

Environment:
Occurring on Windows 10 & Mac 10.15.

  1. Response avatar

    Resolution Note:

    This is not a bug. The UI Builder listens to the Rename command to start renaming. While it is traditionally tied to F2 on Windows (Enter on Mac), the shortcut associated to the Rename command is not set by default in Unity. The user needs to associate F2 (or any other shortcut) via the Shortcuts window:

    1. Open the "Edit > Shortcuts..." menu
    2. Search for the Rename command
    3. Double-click on the Rename command shortcut entry and associate F2 to that command (or the shortcut of your choice)
    4. Confirm if it requires a confirmation, close the window
    5. Go back to the U Builder and follow steps 3 and 4 as listed in the description, this should work.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.