Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.1.X

Votes

0

Found in

6000.0.28f1

6000.1.0a5

7000.0.0a9

Issue ID

UUM-87336

Regression

No

Unexpected behaviour when selecting items in UI Toolkits TreeView sample

--

-

*Steps to reproduce:*
# Open a Unity Project
# Open the UI Toolkit samples via Window > UI Toolkit > Samples
# Select the 'ListView' sample
# Click on the first option in the list (the number '1')
# Observe how 'Items selected: 1' is logged to the console as expected
# Select the 'TreeView' sample
# Click on the first option in the list (the number '1')

*Actual results:* The text 'items selected: 0' is logged to the console. You have to click on the item a few times for the correct text 'items selected: 1' to start being logged.

*Expected results:* The text 'items selected: 1' is logged correctly the first time that the item is clicked

*Reproducible with versions:* 6000.1.0a5, 6000.0.28f1

*Not reproducible with versions:* - 

*Can’t test with versions:* 2022.3.52f1, 2021.3.45f1

*Tested on (OS):* MacOS Sonoma 14.6.1

{*}Notes{*}{*}:{*} 
* Issue only affects the TreeView sample. The ListView, MultiColumnListView and MultiColumnTreeView all log the correct numbers on the first time clicking an item
* The issue affects all the numbers on the TreeView sample (1 - 10)

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.