Search Issue Tracker
By Design
Votes
0
Found in
4.6.0b10
Issue ID
614665
Regression
No
different event order for context click
1) Error:
When using the right click in Mac, the order of events are:
-MouseDown
-ContextClick
-MouseUp
but in Windows, they are:
-MouseDown
-MouseUp
-ContextClick
To me the Mac behaviour seems correct. Also, a byproduct of the Windows behaviour is that if you catch MouseUp and call Use(), ContextClick will not be sent. This also happens on 4.5.x
2) How can we reproduce it using the example you attached.
- Open Custom/Open window
- Right click inside of it, in both Mac OS x and Windows
- Uncomment the Use() and see how in Windows ContextClick never gets sent
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment