DS4Windows
DS4Windows copied to clipboard
DS4Windows not displaying on primary monitor
Describe the bug Ds4windows only displays on secondary monitor.
Expected behaviour Display on primary monitor
Screenshots and Logs the log.txt
Desktop (please complete the following information):
- Controller Make and Model: Sony DS4 v.2 (CUH-ZCT2U)
- OS: [e.g. Windows 10 Home Build 19044.2006]
- DS4Windows Version 3.16
Additional context When the second monitor is not connected, it doesn't display at all.
DS4Windows saves the last known window coordinates when the program closes. It will try to restore the window to the last known position but there are no checks in place to try to keep the coordinates in currently visible bounds. Guess that will have to change.
Not sure this could have been addressed before the last DS4Windows release. DS4Windows now checks for active displays and grabs the visual resolution available from all active displays. That change was originally implemented to allow absolute mouse support to be isolated to a single monitor on a multi-monitor setup.
Implemented the change to check display bounds on startup in the code. Found out these checks could have been added without the use of WpfScreenHelper.