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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a12
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0b16