Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.1.X

Votes

1

Found in

6000.0.27f1

6000.1.0a4

Issue ID

UUM-86936

Regression

No

SelectedIndex does not update when a ListView item is selected by a Mouse click

--

-

How to reproduce:
1. Open the “XR.zip“ project
2. Open the “SampleScene“
3. Enter Play Mode
4. Click on the “Login“ button in the Game view
5. Select any of the two labels in the Game view using the Mouse
6. Observe the Console

Expected results: “Selected index: <index>“ is logged
Actual results: Nothing logged

Reproducible in: 6000.0.27f1, 6000.1.0a4
Could not test in: 2021.3.46f1, 2022.3.52f1 (Scipt-related errors that break the project)

Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested

Notes:
- Seems to be reproducible just in this project
- The only things that are using the “SelectedIndex“ property (name) are the “AssetSelectionView.uxml“ and “<name>.cs“ files
- When tried reproducing the issue using the default ListView creation methods, mouse clicks were considered
- Selecting with arrow keys updates the selectedIndex value

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.