Search Issue Tracker

Duplicate

Votes

1

Found in

6000.0.25f1

6000.1.0a2

Issue ID

UUM-85879

Regression

Yes

"TreeView" reordering feature fails to disable when "reorderable" propertly is set to false

--

-

Reproduction steps:

1. Open the attached project “U6TreeViewTest.zip“
2. Open the “SampleScene“
3. Enter Play Mode
4. Try to reorder the “TreeView” by dragging and dropping any element in the list
5. Observe the result

Expected result: The list cannot be reordered
Actual result: The list can still be reordered even though the “reorderable” property in the script is set to false

Reproducible in: 6000.0.17f1, 6000.0.25f1, 6000.1.0a2
Not reproducible in: 2022.3.51f1, 6000.0.16f1
Could not test with: 2021.3.45f1 (Couldn’t solve compilation errors)

Reproducible on: macOS 14.6.1 (M1 Pro), MacOS 14.6.1 (M1 Max) (user) ,Windows 10
Not reproducible on: No other environment tested

Note: Can be reproduced in Player too

  1. This is a duplicate of issue #UUM-83054

    The list remains orderable when NonReorderableAttribute is used

Comments (1)

  1. vinhvo_modec

    Oct 30, 2024 04:04

    This bug is very critical when the TreeView is very large and the user selects a lot of objects. Interacting with these selected objects can cause the app to hang.
    While waiting for a fix, we can use the following workaround to overcome it:
    `treeView.canStartDrag += (_) => reorderable;'

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.