Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.1.1f1
Issue ID
947312
Regression
No
OnEndDrag() gets called when one of the drag buttons is released while the other one is still held down
Steps to reproduce:
1. Open attached project "947312.zip"
2. Open "Bug Sample" scene
3. Enter play mode
4. Begin dragging image with Left Mouse Button
5. In addition, click and hold Right Mouse Button (which also starts dragging object)
6. While holding down RMB, release LMB
Actual result: OnEndDrag() gets called even though RMB is held down
Expected result: OnEndDrag() doesn't get called if there are any other active buttons dragging that object
7. While holding down RMB move mouse
8. OnDragBegin() gets called
Reproducible with: 5.6.3p2, 2017.1.1f1, 2017.2.0b10, 2017.3.0a7
Watch attached gif image resets its position to the center of the screen on OnEndDrag()
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment