Search Issue Tracker
Fixed in 5.3.0
Votes
1
Found in
5.1.2p3
Issue ID
721083
Regression
No
[Windows] Windows player issues on dual monitor setup
To reproduce:
1. Build and run project
2. Press full screen button
3. Press No full screen button
4. Notice that the application goes to the middle position between the monitors.
5. Move the window to secondary display
6. Press full screen button.
7. The application runs in full screen mode on the primary display
On Windows, if you run the fullscreen mode, it's always running on the main display. If you switch to windowed mode, the application goes to the middle position between the two screens. If you move the windowed application to secondary screen at change to full screen it will run on the primary display.
Resolved (Fixed):
Switching from windowed to fullscreen mode will fullscreen player in the same monitor where it was in the windowed mode now.
Switching from fullscreen to windowed mode will still center the window between two monitors and that is an expected behavior. When centering the windowed player we check if player window size + windows borders are less than the monitor resolution. If that's the case, then we center the window in the same monitor where the fullscreen app was. However if player size + borders are bigger than the monitor resolution (which happens when the player is rendered at native monitor resolution in fullscreen) we center the window in the middle of virtual screen. As a workaround you could lower resolution before switching from fullscreen to windowed mode.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment