Search Issue Tracker
By Design
Votes
3
Found in
2019.3.0a8
2020.1
2020.2
2020.2.0a21
Issue ID
1275520
Regression
Yes
EventType.mouseUp not fired when the cursor is located outside of the EditorWindow
How to reproduce:
1. Open the attached '1275520.zip' project
2. Select the 'BugReport' > 'TestCode'
3. Click and hold the left mouse button in the 'TestCode' window
4. Drag the mouse pointer outside of the window
5. Release the left mouse button
Expected result: The 'EventType.MouseUp' event is fired, the text in the 'TextCode' window is updated
Actual result: The 'EventType.MouseUp' doesn't get fired
Reproducible with: 2019.3.0a8, 2020.1.0a1, 2020.1.6f1, 2020.2.0b2
Not reproducible with: 2018.4.27f1, 2019.3.0a7, 2019.4.11f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
- [Editor] Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
Resolution Note (2021.1.X):
MouseUp event gets fired, however it is fired only for the window where the mouse is released.
For Example: If the left click is done on window1 then MouseDown event will be fired for window1, but when a mouse click is held and released in window2 then MouseUp event will be fired for that window, i.e. where the mouse is released.