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
- Sprite Importer Checkbox Label Truncated in UI (2D Template)
- Light theme icon is missing for Volume Component in the Inspector window
- Volume Profile effects are still showing and active in Game View when the Volume Profile is reset
- Shader Graph Tab Lacks Right Margin for Long Titles
- 2DLight component only renders when ShadowCaster2D components are within range in WebGL builds
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a12
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0b16