Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2018.4.X, 2019.4.X

Votes

0

Found in

2018.3.0a9

2018.4

2019.2

2019.3

2019.3.0f3

2020.1

Issue ID

1209976

Regression

Yes

EventType.MouseDrag is triggered when cancelling a Context Menu by Right-Clicking or Left-Clicking in a custom Window

IMGUI

-

How to reproduce:
1. Open the attached project
2. Open the "DRAG DROP BUG" Window (Window->DRAG DROP BUG)
3. Right-Click anywhere in the opened Window to open a Context Menu
4. Right-Click or Left-Click anywhere else in the Window to cancel the Context Menu

Expected result: EventType.MouseDrag is not triggered
Actual result: EventType.MouseDrag is triggered

Reproducible with: 2018.3.0a9, 2018.4.15f1, 2019.2.18f1, 2019.3.0f4, 2020.1.0a18
Not reproducible with: 2017.4.36f1, 2018.3.0a8

Note: Doesn't reproduce on macOS

  1. Resolution Note (fix version 2020.1):

    Fixed in Unity 2020.1.0a24

  2. Resolution Note (fix version 2019.4):

    Fixed in Unity 2019.4.10f1

  3. Resolution Note (fix version 2018.4):

    Fixed in Unity 2018.4.27f1

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.