Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.1.X, 6000.2.X, 6000.3.X

Votes

0

Found in

6000.0.53f1

6000.1.11f1

6000.2.0b9

6000.3.0a1

Issue ID

UUM-111185

Regression

No

TreeView drag and drop operation is not cancelled when a modal opens over it

-

How to reproduce:
1. Open the attached “IN-106882” project
2. Open the “SampleScene”
3. Enter Play mode
4. Expand the objects in the following order: “Root” > “Group 0” > “Subgroup 0.0”
5. Double click any of the “Item” objects
6. Move the cursor to the bottom, then top of the Game view
7. Observe the result

Expected result: The drag and drop preview does not follow the mouse
Actual result: The drag and drop preview follows the mouse

Reproducible with: 2023.3.0b4, 6000.0.53f1, 6000.1.11f1, 6000.2.0b9, 6000.3.0a1
Could not test with: 2021.3.51f1, 2022.3.64f1 (MultiColumnTreeView not supported), 2023.3.0b3 (Could not solve modal not appearing)

Reproduced on: Windows 11
Not reproduced on: No other environment tested

Workaround: Create a variable to track if the modal is open. If it’s open, return false in the canStartDrag callback

Notes:
- Reproducible in Player
- If the cursor is moved outside of the Game view during Play mode, a “NullReferenceException: Object reference not set to an instance of an object” error occurs and Play mode must be re-entered to reproduce the issue

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.