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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a12
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0b16