Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2021.2.0a16
2021.2.0b5
2022.1
Issue ID
1354879
Regression
No
[macOS] MoveMainWindowTo ignores Dock space when changing resolution and moving app to given coordinates from Fullscreen mode
Steps to reproduce:
1. Open the attached project ("1354879.zip")
2. Open "SampleScene"
3. Build and run on standalone
4. Enter Fullscreen mode (Full Screen Mode -> FullScreenWindow)
5. Press "Snap to bottom right" button
Expected result: Even though given coordinates overlap with Dock, the app should snap to Dock since Dock area is excluded from workArea
Actual result: The app snaps to exact given coordinates, ignoring the Dock space
Reproducible with: 2021.2.0a16, 2021.2.0b5, 2022.1.0a4
Couldn't test with versions older versions as MoveWindowAPI was introduced in 2021.2.016
Notes:
- Doesn't reproduce in Windowed mode
- There's additional information to what exact coordinates the app is being snapped to in the player log (https://docs.unity3d.com/2021.2/Documentation/Manual/LogFiles.html)
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a12
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0b16