Steps to reproduce:
- Create and open a new project
- Make sure to unselect any selection in the Project and Hierarchy
- Open the Toolbar menu at the top-right
- Click on 'Add MenuItem Shortcut'
- Search for "Component"
- Observe the results
Actual results: Every returned element is "(disabled)"
Expected results: No element is "(disabled)"
Reproducible with versions: 6000.7.0a4
Can’t test with versions: 6000.0.81f1, 6000.3.21f1, 6000.5.6f1, 6000.6.0b6, 6000.7.0a3
Tested on (OS): Windows 11 Pro (25H2)
Notes:
- It is expected that if no GameObject is selected in the Editor, components cannot be added, which means that this behavior is correct. However, selecting the result doesn't apply the effect when selecting the MenuItem, so it can look as if the functionality is disabled and cannot be added to the toolbar for whatever reason - hence the usability bug