Search Issue Tracker
Won't Fix
Votes
2
Found in
Issue ID
1426492
Regression
No
[macOS] [Editor] [Player] Keypress is never cancelled if a system gesture removes focus from window
This repros on BOTH THE EDITOR AND PLAYER. It requires a trackpad.
Repro:
1) Open attached project and open SampleScene.Unity
2) Open console window
3) HOLD the UP ARROW KEY while you 3-finger pan to bring up macOS Mission Control.
4) Wait a few seconds, then CLICK on the Unity window in mission control.
Result: The key is still reporting that it is pressed
Expected: It should have been canceled with it was released or when macOS Mission Control was brought up. Not sure how macOS Mission Control affects input routing.
Now follow similar steps in the player and you will see the same behavior.
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
- Audio Mixer does not change volume when lowering volume on an Audio Mixer loaded from AssetBundles
- Error “Value cannot be null. Parameter name: key UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)” thrown and Addressables build fails when "Include in Build" is disabled and using Addressables For Android package
- “error CS0433: The type 'CodeBinaryOperatorType' exists in both 'System.CodeDom and 'System" compilation errors are thrown when opening a specific project
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
Resolution Note (2022.2.X):
macOS does not send the events to us, either keyup or any notification that we're in mission control.