Steps to reproduce:
- Create a new project
- Create and open a new UI Document
- Create a USS file and a few selectors in it
- Search in the StyleSheets search bar for "VisualElement"
- Observe the search results in the StyleSheets section
Actual results: All selectors are returned as a search result for each character of the string
Expected results:
- Only selectors with the type name of 'VisualElement' are returned
- Only selectors with "VisualElement" in their name are returned
Reproducible with versions: 6000.6.0a2
Can’t test with versions: 2023.1.0a1, 6000.0.72f1, 6000.3.12f1, 6000.4.2f1, 6000.5.0b2, 6000.6.0a1 (UI Builder doens't have search functionality)
Tested on (OS): Windows 11 Pro (25H2)
Notes:
- Similarly, when searching for "viewport" in UI Builder Hierarchy, the name of the UXML file is returned